Skip to contents

This function is a dispatcher for the resampling function selected in input.

Usage

getResamplingFunction(
  id = c("rswor", "srswor", "stratified_rswor", "balanced_rswor", "permutation",
    "kfolds", "stratified_kfolds", "balanced_kfolds", "leave_p_out", "leave_one_out",
    "rswr", "srswr", "stratified_rswr", "balanced_rswr", "bootstrap")
)

Arguments

id

character string, one of the supported resampling techniques

Author

Alessandro Barberis

Examples

f = getResamplingFunction(id = 'rswor')