Description Usage Arguments Value
This is a simple internal function designed to check whether a specific covariate is contained within a list of covariates.
1 | covarInDataset(covarName, covarNames)
|
covarName |
A scalar string, containing the name of the covariate of interest. |
covarNames |
A vector of strings, defining a list of covariate names to check against. |
A logical scalar, indicating whether the covariate is
contained within the list. Note that by definition,
a NULL
or empty string (""
) will return
TRUE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.