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

permute_process_variables(dataframe, modifiable_variable_levels)

Arguments

dataframe

A dataframe.

modifiable_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.