methodRuleTREND1: Rule for determining method for permTREND

Description Usage Arguments Details Value See Also

Description

This is the default function which determines which method to use in permTREND.

Usage

1
methodRuleTREND1(x, y, exact, Nbound = c(20))

Arguments

x

vector of response scores

y

group membership vector

exact

logical, TRUE=exact method chosen, FALSE=pclt

Nbound

gives 'pclt' if length(x) > Nbound

Details

This function determines which of two methods will be used in permTREND; see that help for description of methods.

When exact=FALSE then returns 'pclt'. When exact=TRUE then returns 'exact.mc'. When exact=NULL then returns either 'exact.mc' if length(x) is less than or equal to Nbound, otherwise returns 'pclt'.

Value

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

See Also

permKS


perm documentation built on May 1, 2019, 8:02 p.m.