Function to add a column for a covariate containing the levels as text values

Function to add a column for a covariate containing the levels as text values

addCatColumnAsText_IQRdataGENERAL(
  x,
  catColumn,
  newName = paste0(catColumn, "C")
)

Arguments

x

IQRdataGENERAL object

catColumn

Charactor indicating the covaviate column to convert into a column with text values

newName

Name of the new covariate column

Value

IQRdataGENERAL including the new covariate column with text values

See also

Other IQRdataGENERAL: plotIndivAE_IQRdataGENERAL()

Author

Anne Kuemmel