R-CMD-check Codecov test coverage CRAN status R-CMD-check test-coverage

permuco

This package provides functions to compute permutation tests in linear models with nuisances variables. The package has several goals :

See Reference for more information on the function or check the article presenting the package.

The lmperm() function

This function is constructed as an extension of the the lm() function for permutation test. It produces t statistics with univariate and bivariate p-value by permutation.

The aovperm() function

This function is constructed as an extension of the the aov() function for permutation test. It produces marginal F statistics (type III) for factorial ANOVA and ANCOVA. Moreover, repeated measures ANOVA can be perform using the same notations used in an aov() formula with +Error(id/within) to specify the random effects.

The clusterlm() function

This function compute cluster-mass statistics for multiple comparisons. It is designed for ERP analysis of uni-channel EEG data. The left part of formula object must be a matrix or dataframe which columns represents multiple responses tested on the same experimental design (specified by right part of the formula). This function provides several methods to handle nuisance variables, a F or t statistics, an extension for repeated measures ANOVA and several methods for the multiple comparisons like the threshold-free cluster enhancement.

Contact

If you need help to use the package or want to report errors, contact Jaromil Frossard at jaromil.frossard@unige.ch.

References

For permutation tests with nuisance variables :

For permutation test in repeated measures ANOVA :

For cluster-mass statistics for the muliple comparison problems :

For the threshold-free cluster-enhancement method :

Academic works using permuco