AddContrastVariables | R Documentation |
This function is deprecated. Please use GenContrastVariables instead.
AddContrastVariables(data, n.contrast = max(ncol(data)/10, 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.