Usage
mControl(cm=NULL,nmc=10^3-1,seed=1234321,digits=12,p.conf.level=.99,
setSEED=TRUE,tol.svd=10^-8,nwsr=10^3-1,np=10^3-1)Arguments
cm
a choose(n,m) by n matrix, used if method='exact.ce', ignored otherwise
nmc
number of Monte Carlo replications, used if method='exact.mc', ignored otherwise
seed
value used in set.seed if method='exact.mc', or any of three wsr methods, ignored otherwise
setSEED
logical, set to FALSE when performing simulations
p.conf.level
confidence level for p value estimate, used if method='exact.mc', ignored otherwise
digits
number of digits to use in signif for precision of test statistics tol.svd
tolerance for use in calculating g-inverse, values less than tol.svd are set to zero, used when method='scoretest'
nwsr
number of within subject resamples, used when method='wsr.mc', 'wsr.HLY', or 'wsr.pclt'
np
number of permutation replications within each wsr, used when method='wsr.mc'