This is the default function which determines which permutation method (e.g., `pclt' or `exact.network') to use in ictest
.
methodRuleIC1(x, group, exact, Nbound = c(20))
a character vector with one of the following values: "pclt","exact.network","exact.mc"
vector of response scores
group membership vector
logical, TRUE=exact method chosen, FALSE=pclt
bound, if n>Nbound then method='pclt' otherwise either 'exact.mc' (for k-sample or trend) or 'exact.network' (for two-sample)
This function determines which of several methods will be used in
ictest
, see permTS
for description of methods.
When exact=FALSE then returns 'pclt'. When exact=TRUE then returns either 'exact.network' if the length(cc)<=Nbound and it is a two-sample test or 'exact.mc' otherwise. When exact=NULL and the length(cc)<=Nbound, then returns either 'exact.network' (for two-sample) or 'exact.mc' (for k-sample and trend). When exact=NULL and length(cc)>Nbound returns 'pclt'.
ictest