| stratify {simFrame} | R Documentation | 
Stratify data
Description
Generic function for stratifying data.
Usage
stratify(x, design)
Arguments
| x | the  | 
| design | a character, logical or numeric vector specifying the variables (columns) to be used for stratification. | 
Value
An object of class "Strata".
Methods
- x = "data.frame", design = "BasicVector"
- stratify data according to the variables (columns) given by - design.
Author(s)
Andreas Alfons
See Also
"Strata"
Examples
data(eusilcP)
strata <- stratify(eusilcP, c("region", "gender"))
summary(strata)
[Package simFrame version 0.5.4 Index]