split_dataset: Split dataset into training and testing (50/50). # Split...

Description Usage Arguments Value

View source: R/utilities_experiments.R

Description

Split dataset into training and testing (50/50). # Split dataset into training and testing (50/50).

Usage

1
split_dataset(dataset, classname = "class")

Arguments

dataset

The dataset

classname

the name of the class in the dataset. Default is class.

Value

The dataset structure with two new elements (data_train and data_test).


bwrc/astrid-r documentation built on June 24, 2017, 8:05 p.m.