permute_process_variables: Take a dataframe and build a larger dataframe by permuting...

View source: R/pip.R

permute_process_variablesR Documentation

Take a dataframe and build a larger dataframe by permuting the values in certain columns.

Description

Take a dataframe and build a larger dataframe by permuting the values in the columns corresponding to variable_levels.

Usage

permute_process_variables(dataframe, variable_levels, variable_direction)

Arguments

dataframe

A dataframe.

variable_levels

A list indexed by the modifiable process variables and containing the factor levels of each such variable.

Value

A large dataframe where the values in the modifiable variable columns have been permuted.


healthcareai documentation built on Sept. 5, 2022, 5:12 p.m.