get_nfolds: Get the Number of Folds

View source: R/allgeneric.R

get_nfoldsR Documentation

Get the Number of Folds

Description

An S3 generic method to retrieve the number of folds from a cross-validation specification object.

Usage

get_nfolds(obj, ...)

Arguments

obj

A cross-validation specification object (e.g., inheriting from 'cross_validation').

...

Additional arguments passed to methods.

Value

An integer representing the number of folds.


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