randFolds: Randomly Generate Folds

Description Usage Arguments

View source: R/rand.R

Description

This function assigns each sample index (from 1 to n.samples) into a fold (from 1 to f).

Usage

1
randFolds(n.samples, f = 10)

Arguments

n.samples

The number of samples to group.

f

The number of folds to use.


tpq/miSciTools documentation built on Sept. 16, 2019, 4:43 p.m.