Randomize and fit a model and find the maximum statistic
randomise(ctype, N, perms, DT, nC, measure, X, con.mat, alternative)
Integer; number of permutations to create (default: 5e3)
Matrix of permutations, if you would like to provide your own
(default: NULL
)
data.table
with outcome variables
Character string of the graph measure of interest
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
Character string, whether to do a two- or one-sided test
(default: 'two.sided'
)