Takes a sample with replacement from the population.
Arguments
- N
population size.
- n
sample size.
- strata
(optional) vector of stratification variables. If provided must be of length
N- balance
logical, whether to (try to) balance the strata frequency in the output sample. Used only if
stratais provided.
Details
This function is an interface to rsample with
replace = TRUE.