Description
Returns necessary sample size for a given power and dataset
Usage
sample.size(alpha, margin, dependent.variable, weights)
Arguments
dependent.variable
The variable being sampled as a vector.
weights
Numeric weights (if present) as a vector.
Value
A list containing the parameters and a data.frame with the smoothed estimates.