methodRuleIC1 | R Documentation |
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))
x |
vector of response scores |
group |
group membership vector |
exact |
logical, TRUE=exact method chosen, FALSE=pclt |
Nbound |
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'.
a character vector with one of the following values: "pclt","exact.network","exact.mc"
ictest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.