- nsim
The number of random permutations.
- formula.full
The formula specifying the general linear model,
see formula
in lm
.
- formula.reduced
The formula of the reduced model with nuisance factors only. This model
should be nested within the full model.
- curve_sets
A named list of sets of curves giving the dependent variable (Y), and
possibly additionally factors whose values vary across the argument values of the functions.
The dimensions of the elements should match with each other.
Note that factors that are fixed across the functions can be given in the argument factors
.
Also fdata
objects allowed.
- factors
A data frame of factors. An alternative way to specify factors when they
are constant for all argument values of the functions. The number of rows of the data frame should be equal
to the number of curves. Each column should specify the values of a factor.
- savefuns
Logical or "return". If TRUE, then the functions from permutations are saved to the attribute simfuns.
If "return", then the function returns the permutations in a curve_set, instead of the result of the envelope test on those;
this can be used by partial_forder
.
- lm.args
A named list of additional arguments to be passed to lm
. See details.
- GET.args
A named list of additional arguments to be passed to global_envelope_test
,
e.g. typeone
specifies the type of multiple testing control, FWER or FDR.
See global_envelope_test
for the defaults and available options.
- mc.cores
The number of cores to use, i.e. at most how many child processes will be run simultaneously.
Must be at least one, and parallelization requires at least two cores. On a Windows computer mc.cores must be 1
(no parallelization). For details, see mclapply
, for which the argument is passed.
Parallelization can be used in generating simulations and in calculating the second stage tests.
- mc.args
A named list of additional arguments to be passed to mclapply
.
Only relevant if mc.cores
is more than 1.
- cl
Allows parallelization through the use of parLapply
(works also
in Windows), see the argument cl
there, and examples.
- method
For advanced use.