powered by
Returns the variable names of a specific type from a mmstat data set.
mmstat.getVarNames(dataname, vartype, which = NULL)
a vector or element of variable names which have the type vartype
vartype
character: name of data set
character: type of variable, either numeric, ordered, factor, or binary
numeric
ordered
factor
binary
integer: index number
# Load CAR data set into mmstat mmstat.getDataNames(mmstat.rds("CARS")) # Extract names of numeric variables mmstat.getVarNames(1, "numeric")
Run the code above in your browser using DataLab