convertEnumVarColName: (internal) Convert enumerated integer type variable value

Description Usage Arguments Methods (by class) Examples

Description

The enumerated integer type variable values need to be converted to the respective string type values before plotting. The plotting program treats it as numeric values otherwise. This method takes the data frames of the data and meta-data of an enumerated integer type variable, and converts the variable values to the respective string type values based on the code meanings.

Usage

1
2
3
4
5
convertEnumVarColName(object, varDataDF, varInfoDF, varCodeValDF)

## S4 method for signature 'Commons,data.frame'
convertEnumVarColName(object, varDataDF,
  varInfoDF, varCodeValDF)

Arguments

object

Commons class object

varDataDF

a data frames. The single variable row of the data table.

varInfoDF

a data frames. The single variable row of the variable meta-data table.

varCodeValDF

a data frames. The code and value table of the categorical vairables.

Methods (by class)

Examples

1
2
3
4
5
6
## Not run: 

object <- Commons()
convertEnumVarColName(c, varDataDF = catVarDataDF, varInfoDF = catVarInfoDF) 

## End(Not run)

jameslhao/dbgapr_dev documentation built on May 8, 2019, 11:03 p.m.