Description Usage Arguments Value Author(s) Examples
View source: R/create_data_partition.R
This function returns a train-test dataset
1 | create_data_partition(data, p_train)
|
data |
Dataframe that will be used |
p_train |
Percentage of data that will be used as train |
Returns a list of length 2 with the train and the test datasets
Alberto Almui?a
1 | data<-create_data_partition(iris, 0.7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.