This function is a dispatcher for the sampling function selected in input.
Usage
getSamplingFunction(
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")
)