utils.attrition.Rd
Helper function to inflate sample size for attrition.
inflate.sample(n, rate = 0.05, ceiling = TRUE, verbose = TRUE)
sample size.
attrition rate.
rounds-up the inflated sample size.
logical; whether the output should be printed on the console. TRUE by default.
TRUE
inflated sample size.
inflate.sample(n = 100, rate = 0.05) #> 106