char2num {TwoPhaseInd}R Documentation

A function used in acoarm to transform categorical variable to integers

Description

Transform category data to integers 0..levels(data)-1. The the numeric variable can be then used in acoarm models.

Usage

char2num(data)

Arguments

data

data is a dataframe composed of categorical variables.


[Package TwoPhaseInd version 1.1.1 Index]