check_names {Conigrave} | R Documentation |
check_names
Description
Takes in a vector of colnames, and a data.frame or imputationList. This function will trigger an error if names are not in the data object. In addition, this function will try to predict which names the user was trying to spell.
Usage
check_names(x, data)
Arguments
x |
a vector of colnames. |
data |
a data.frame or imputationList. |
Value
check_names will trigger an error if the supplied vector of names were not found in the supplied object. It will also predict which names the user was trying to spell.
[Package Conigrave version 0.4.4 Index]