do.random.partition: Random partition of the data

Description Usage Arguments Details Value Examples

View source: R/hyperSMURF2.0.R

Description

Performs a random partition of the indices that refer to a given data set (data frame or matrix)

Usage

1
do.random.partition(n.ex, n.partitions, seed = 0)

Arguments

n.ex

number of indices to be partitioned

n.partitions

number of partitions

seed

seed for the random generator

Details

The partition of the data is performed using only the indices of the data not the data itself

Value

a list with n.partitions elements. Each element stores the indices of the partition.

Examples

1

hyperSMURF documentation built on April 30, 2018, 1:04 a.m.