kfold: Stratified random partitioning into subsets

Description Usage Arguments Value Author(s)

View source: R/kfold.R

Description

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

Usage

1
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

Author(s)

M. Iturbide


mopa documentation built on May 2, 2019, 6:47 a.m.