leaveOneOut: Leave out a different subset for test each fold

Description Usage Arguments Details Value Author(s)

View source: R/leaveOneOut.R

Description

Given a data frame splitted in k subsets, this function binds subsets for training data and leaves one subset out for test k times, leaving out a different subset each fold.

Usage

1
leaveOneOut(kf.data)

Arguments

kf.data

Object returned by function kfold or list of data frames

Details

Details.

Value

List of length k. Each slot contains another list of two components:

train

data frame of training data

test

data frame for test

Author(s)

M. Iturbide


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