methodRuleKS1 {perm} | R Documentation |
Rule for determining method for permKS
Description
This is the default function which determines which method to use in permKS
.
Usage
methodRuleKS1(x, group, exact, Nbound = c(5))
Arguments
x |
vector of response scores |
group |
group membership vector |
exact |
logical, TRUE=exact method chosen, FALSE=pclt |
Nbound |
gives 'pclt' if minimum sample size of any group > Nbound |
Details
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'.
Value
a character vector with one of the following values: "pclt","exact.mc"
See Also
[Package perm version 1.0-0.4 Index]