View source: R/warn_missing_strata.R
warn.missing.strata | R Documentation |
Warn about missing stratifying variables in a dataset
warn.missing.strata(data, strata, dataname)
data |
the dataset that should contain the strata |
strata |
a |
dataname |
the name of the dataset, for use in warning messages if some strata are missing. |
a character()
vector of the subset of stratifying variables that are present in pop_data
## Not run:
expected_strata <- data.frame(Species = "banana", type = "orchid")
warn.missing.strata(iris, expected_strata, dataname = "iris")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.