fx_partition2: Extract CV Fold Assignment

View source: R/fx_partition2.R

fx_partition2R Documentation

Extract CV Fold Assignment

Description

Extract CV fold assignment from a modelObj

Usage

fx_partition2(modelObj = NULL)

Arguments

modelObj

model object, containing observed model performances

Value

update

  • all.partitions: list of length nresamples (as defined within model Obj input). Each element contains list of length nfolds (i.e., number of folds within each resample). Each element of this sublist is a list containing three variables.

  • train: row indices to be assigned to training dataset

  • test: row indices to be assigned to testing dataset

  • sample.type: cross-validation sampling type (e.g, 5-fold)


fishpm/nruPredict documentation built on July 12, 2022, 3:22 p.m.