Add a covariate to an auxiliary dataset.
Source:R/allGenerics.R, R/allMethods.R
chmAddCovariate-method.RdAdd a covariate to an auxiliary dataset and return the extended dataset. Do not confuse this function with the one for adding a covariate bar to an NGCHM. For that, please refer to the function chmAddCovariateBar.
Usage
chmAddCovariate(dataset, where, covariate)
# S4 method for class 'ngchmDataset,character,ngchmCovariate'
chmAddCovariate(dataset, where, covariate)