Description Usage Arguments Value Author(s)
Transforms categorical data to binary rows, if the data type of a column is numerical the function will ignore this column and maintain it as numerical.
The function prepareData will use this function to transform
the inputed survey data.
1  | 
X | 
 data matrix containing categorical data  | 
reference_col | 
 (optional, default=FALSE) variable defining which columns to use as reference columns. If FALSE the algorithm will automatically select which categories to use as reference, if TRUE all categories will be maintain.  | 
use_base | 
 (optional, default=TRUE) use base R function  | 
verbose | 
 (optional, default=FALSE) be verbose  | 
X data matrix containing binary data
M. Esteban Munoz H.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.