randpart: Accessory Function for Sample Splitting

Description Usage Arguments Value Note

View source: R/randpart.R

Description

Randomly partition a dataset into a training set and a test set.

Usage

1
randpart(dataset, fract)

Arguments

dataset

a dataset for splitting.

fract

the proportion of observations to be designated to the training set.

Value

Returns a list containing the training set and test set.

Note

This function is not designed to be called directly, but acts within splitval


apricom documentation built on May 29, 2017, 7:36 p.m.

Search within the apricom package
Search all R packages, documentation and source code