Description Usage Arguments Value Examples
Title Prepare the data for the UFT_Func. Mainly, it converts factor and character type data to integer format.
1 | Prepare_data(categorical_data)
|
categorical_data |
is the original categorical data that the UFT_Func will transform to become numerical. It should be of data frame format. |
a data frame with all the data are of int type.
1 2 | X <- data.frame("ID" = 1:4, "Sex" = c("Male", "Male", "Female", "Female" ), "Name" = c("John","Samer", "Sara", "Carolina"), Smoking = c("Yes","No", "No","Yes"))
Prepare_data(X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.