Description Usage Arguments Value Methods Author(s) See Also Examples
Generic function for stratifying data.
1 | stratify(x, design)
|
x |
the |
design |
a character, logical or numeric vector specifying the variables (columns) to be used for stratification. |
An object of class "Strata"
.
x = "data.frame", design = "BasicVector"
stratify data
according to the variables (columns) given by design
.
Andreas Alfons
1 2 3 |
Loading required package: Rcpp
Loading required package: lattice
Loading required package: parallel
region gender Size
1 Burgenland male 947
2 Lower Austria male 5547
3 Vienna male 5546
4 Carinthia male 1950
5 Styria male 3994
6 Upper Austria male 5085
7 Salzburg male 1954
8 Tyrol male 2257
9 Vorarlberg male 1259
10 Burgenland female 994
11 Lower Austria female 5580
12 Vienna female 6111
13 Carinthia female 2161
14 Styria female 4148
15 Upper Austria female 5225
16 Salzburg female 2071
17 Tyrol female 2539
18 Vorarlberg female 1286
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.