GenContrastVariables | R Documentation |
Generate contrast variables from data
GenContrastVariables(data, n.contrast = max(ncol(data), 30))
data |
data organized in matrix with separate variables in columns |
n.contrast |
number of constrast variables (defaults to max of 1/10 of variables number and 30) |
A list with the following key names:
indices
– vector of indices of input variables used to construct contrast variables
x
– data with constrast variables appended to it
mask
– vector of booleans making it easy to select just contrast variables
GenContrastVariables(madelon$data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.