n_strata | R Documentation |
Estimate of number of observations in strata of data
n_strata(data, weights, strata)
data |
a data frame |
weights |
character string of the name of the weights column |
strata |
character string of the name of the strata column |
str(d)
n_strata(d, weights = "w", strata = "s")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.