Usage
PermTest(xx, formula.full, D.full, D.red, model.dat, glm.family, perm,
test.vars, cf, adjust, snowfall.args, snowfall.seed,
save.stat.data, file.save, use.save.stat.data, file.use)
Arguments
xx
Dataset (variables x patients).
formula.full
Formula from the full model.
D.full
Designmatrix of the full model.
D.red
Designmatrix of the reduced model.
model.dat
Dataset with covariables.
glm.family
Family for the regression.
perm
Number of permutations.
test.vars
Variables or groups of variables to test.
cf
Combining function for the partial tests.
adjust
Method for p-value adjustment.
snowfall.args
A list with parameters for the initialisation of parallelizing with package snowfall.
save.stat.data
Logical value, default is FALSE. Save the permutation and original test statistic.
file.save
File name for saving.
use.save.stat.data
Logical value, default is FALSE. Use the saved permutation and original test statistic.
file.use
File name for data loading.