Description Usage Arguments Details Value Author(s) Examples
This is s small function the split the data according to thier types (numerica, integers or factors)
1 | Data_Classes_Split(Data)
|
Data |
is the dataframe we are spliting it's variables to different classes. |
This function split the data to different classes depending on the data type that is contained in each variable in the data
return a list that each element contain the coloumns that belong to specific class
Rani Basna
1 2 3 | X <- data.frame("ID" = as.numeric(c(1,2,3,4)), "Age" = c(21,15,44,14), "Sex" = c("Male", "Male", "Female", "Female"),
"Name" = c("John","Samer", "Sara", "Carolina"), Smoking = c("Yes","No", "No","Yes"))
data_split <- Data_Classes_Split(X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.