Skip to contents

create subsets for cross-validation

Usage

createSubsets(N, k)

Arguments

N

number of samples in the data set

k

number of subsets to create

Value

matrix with subsets

Examples

createSubsets(N=100, k = 5)