| stratify {simFrame} | R Documentation |
Generic function for stratifying data.
stratify(x, design)
x |
the data.frame to be stratified. |
design |
a character, logical or numeric vector specifying the variables (columns) to be used for stratification. |
An object of class "Strata".
Andreas Alfons, alfons@statistik.tuwien.ac.at
data(eusilc)
stratify(eusilc, c("region", "gender"))