View source: R/miscellaneous.R
checkVar | R Documentation |
Check if specified variable(s) are present in the data.
checkVar(var, data)
var |
Character vector with variable(s) of interest. |
data |
Data.frame with data. |
No returned value, an error message is triggered if some variable(s) are not available in the data.
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.