Learn R Programming

interval (version 1.0-1.0)

methodRuleIC1: Rule for determining method for ictest

Description

This is the default function which determines which permutation method (e.g., `pclt' or `exact.network') to use in ictest.

Usage

methodRuleIC1(x, group, exact, Nbound = c(20))

Arguments

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)

Value

  • a character vector with one of the following values: "pclt","exact.network","exact.mc"

Details

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" the="" length(cc)<="Nbound," then="" returns="" either="" 'exact.network'="" (for="" two-sample)="" k-sample="" trend).="" length(cc)="">Nbound returns 'pclt'.

See Also

ictest