crossval_samples: crossval_samples

View source: R/allgeneric.R

crossval_samplesR Documentation

crossval_samples

Description

Apply a cross-validation scheme to split the data into training and testing sets.

Usage

crossval_samples(obj, data, y, ...)

Arguments

obj

A cross-validation control object.

data

A data frame containing the predictors.

y

A vector containing the response variable.

...

Extra arguments passed to the specific cross-validation methods.

Value

A tibble containing training and testing sets for each fold.


bbuchsbaum/rMVPA documentation built on June 10, 2025, 8:23 p.m.