Returns necessary sample size for a given power and dataset, but treats any standard deviation below 0.1 as 0.1
sample.size.floored.variance(alpha, margin, dependent.variable, weights)Numeric alpha.
Numeric error margin.
The variable being sampled as a vector.
Numeric weights (if present) as a vector.
A list containing the parameters and a data.frame with the smoothed estimates.