- IDs
vector of IDs to be permuted. If IDs is a scalar, it is
replaced with 1:IDs.
- return.permIDs
logical. If TRUE, the matrix of permuted IDs is
stored and returned. Only used with testType="permutaiton"
- N
number of elements of the sample. It is also the dimention of the
random orthogonal matrix in rom.
- Y
a vector of data. It can also be a vector 1:N referring to the IDs
of observations.
- perms
number of random permutations. If it is a list, it has two
elements number (the number of random permutation requested) and
seed (the seed to be set when start generating. it is useful for
reproducibility) If perms > number of all possible flips, then compute the
complete space.
- T
the (possibly multivariate) permutation space as returned, for
example by flip
- obs.only
logical. If TRUE only the p-value for observed test
statistic is returned, otherwise the whole space is computed. Defaults:
TRUE if T is a flip-object, FALSE otherwise.
- tail
Tail of the distribution being significant for H1. See also
argument tail in flip. Defaults: 1 if T
is NOT a flip-object, it is taken from T otherwise.
- testType
See argument testType in flip
- Strata
See argument testType in flip
- X
A vector of length N with a different value for each group.
Only used together with testType="combination".
- ...
other parameters