Learn R Programming

mopa (version 1.0.1)

kfold: Stratified random partitioning into subsets

Description

Internal function for stratified random partitioning into subsets of presence/absence

Usage

kfold(k = 10, df)

Arguments

k

Integer. Number of subsets. Default is 10

df

Data frame with the variable for stratification in the first column

Value

List with k data frames