grandpart: Accessory Function for Cross-validation

Description Usage Arguments Value Note

View source: R/grandpart.R

Description

Randomly partition a dataset into k approximately equally sized partitions.

Usage

1
grandpart(dataset, k)

Arguments

dataset

a dataset for partitioning.

k

the number of partitions; the cross-validation fold number.

Value

Returns a list containing the partitioned datasets.

Note

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


apricom documentation built on May 19, 2017, 6:10 p.m.

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