Returns a copy of design with y_train, cv_labels,
and targets replaced by permuted versions. block_var is
never permuted.
Usage
permute_labels(
design,
method = c("within_block", "circular_shift", "global"),
seed = NULL
)Returns a copy of design with y_train, cv_labels,
and targets replaced by permuted versions. block_var is
never permuted.
permute_labels(
design,
method = c("within_block", "circular_shift", "global"),
seed = NULL
)