setup_randomise
is used to setup the data/objects for any function
that does permutations for GLM-based analysis.
setup_randomise(X, con.mat, nC)
Numeric matrix, if you wish to supply your own design matrix
(default: NULL
)
Numeric matrix specifying the contrast(s) of interest; if only one contrast is desired, you can supply a vector
Integer; the number of contrasts
The tasks performed by this function are: separate the design matrix into the independent variables of interest and nuisance variables (based on the contrast(s)), and calculate the new contrast(s) based on this new design matrix.