permKS.methodRuleKS1(x, group, exact, Nbound = c(5))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