Learn R Programming

origami (version 1.0.7)

id_folds_to_folds: Convert ID Folds to Observation Folds

Description

This function convertsf olds that subset ids to folds that subset observations

Usage

id_folds_to_folds(idfolds, cluster_ids)

Arguments

idfolds

folds that subset ids

cluster_ids

a vector of cluster ids indicating which observations are in which clusters