Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

randpart

Accessory Function for Sample Splitting


Description

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

Usage

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

Tools for the a Priori Comparison of Regression Modelling Strategies

v1.0.0
GPL-2
Authors
Romin Pajouheshnia [aut, cre], Wiebe Pestman [aut], Rolf Groenwold [aut]
Initial release
2015-11-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.