split_data {structToolbox} | R Documentation

## Split data into subsets

### Description

Splits the data into a training and test set.

### Usage

    split_data(p_train, ...)

### Arguments

`p_train` | The proportion of samples in the training set.
`...` | additional slots and values passed to struct_class

### Value

struct object

### Examples

    M = split_data(p_train=0.75)

[Package structToolbox version 0.99.8 Index]