randomise_changes_in_fct_lvls: Randomise changes in factor vector levels

randomise_changes_in_fct_lvlsR Documentation

Randomise changes in factor vector levels

Description

randomise_changes_in_fct_lvls() is a Randomise function that randomly samples from data. Specifically, this function implements an algorithm to randomise changes in factor vector levels. The function is called for its side effects and does not return a value.

Usage

randomise_changes_in_fct_lvls(vector_fct, prob_unchanged_dbl)

Arguments

vector_fct

Vector (a factor vector)

prob_unchanged_dbl

Probability unchanged (a double vector)


ready4-dev/specific documentation built on Oct. 13, 2023, 7:54 a.m.