A function to create a list of arguments for ictest.
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,tsmethod="central")An list with the arguments as components.
a choose(n,m) by n matrix, used if method='exact.ce', ignored otherwise
number of Monte Carlo replications, used if method='exact.mc', ignored otherwise
value used in set.seed if method='exact.mc', or any of three wsr methods, ignored otherwise
logical, set to FALSE when performing simulations
confidence level for p value estimate, used if method='exact.mc', ignored otherwise
number of digits to use in signif for precision of test statistics
tolerance for use in calculating g-inverse, values less than tol.svd are set to zero, used when method='scoretest'
number of within subject resamples, used when method='wsr.mc', 'wsr.HLY', or 'wsr.pclt'
number of permutation replications within each wsr, used when method='wsr.mc'
two-sided method for exact permutation tests, either 'central' or 'abs' (see permControl)
When cm=NULL the resulting matrix is created by chooseMatrix, it may be optionally provided here
only so that chooseMatrix does not need to be repeatedly called in simulations.
Also when doing simulations (with
method='exact.mc' or any of the wsr methods), use setSEED=FALSE so that the seed
is not reset to the same value each time you call the function.
See calcPvalsMC for description of how p.conf.level is used.