View source: R/existsBackgroundVariables.r
existsBackgroundVariables | R Documentation |
Function is necessary for eatRep
and eatModel
as well
and therefore exported to namespace.
existsBackgroundVariables (dat, variable, warnIfMissing = FALSE,
stopIfMissingOnVars = NULL)
dat |
A data frame |
variable |
column number or variable name |
warnIfMissing |
Logical: gives a warning if the variable contains missing values |
stopIfMissingOnVars |
Character vector of variable names. Only for these variables, warnings as raised
through |
a structured list of variable names
data(mtcars)
existsBackgroundVariables(mtcars, 2:4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.