.validate_exposures | R Documentation |
Ensures that the exposure variable has at least two non-missing levels or sufficient numeric variation to support regression modelling.
.validate_exposures(data, exposures)
data |
A data frame containing the exposure variables. |
exposures |
Character vector of column names to validate. |
Returns TRUE if valid; otherwise throws an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.