This is the default function which determines which method to use in permKS
.
methodRuleKS1(x, group, exact, Nbound = c(5))
a character vector with one of the following values: "pclt","exact.mc"
vector of response scores
group membership vector
logical, TRUE=exact method chosen, FALSE=pclt
gives 'pclt' if minimum sample size of any group > Nbound
This function determines which of two methods will be used in permKS
;
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 the minimum sample size for any group is less than or equal to Nbound, otherwise returns 'pclt'.
permKS