View source: R/df.ctrlFactor.R
df.ctrlFactor | R Documentation |
Creates a new column in the input data frame corresponding to the combination of given control factors.
df.ctrlFactor(df, control)
df |
a data frame. |
control |
a numeric or character vector representing one or more columns that are combined into one column of control factors. |
Control factors are used in permutation approaches to constrain the permutation between those factors.
The input data frame with an additional column named 'control', representing the control factors.
Sebastian Sosa, Ivan Puga-Gonzalez.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.