Extract numerical values of a covariate from covariate information table

Function to extract all numerical levels of a covariate from the covariate information table which is the catInfo atribute of an IQRdataGENERAL. The levels as text can be extracted with getTextValues_catInfo.

getCatValues_catInfo(catName, catInfo)

Arguments

catName

character vector indicating the (column) name of the categorical covariate

catInfo

data.frame with categorical covariate information (output from catInfo)

Value

Vector with numerical category values

See also

Other IQRdataGENERAL auxiliaries: getTextValues_catInfo()

Author

Anne Kuemmel