pecora-package {pecora} | R Documentation |
pecora-package
Description
The library is devoted to permutation-based inferential methods.
The pecora (permutation conditional random) package provides functions to perform the one-sample and two-samples t-tests using permutations/sign-flipping.
The tests comprised are: the one and two samples t-tests.
Author(s)
Angela Andreella.
Maintainer: Angela Andreella. <angela.andreella@unipd.it>
References
For the general framework of univariate and multivariate permutation tests see: Pesarin, F. (2001) Multivariate Permutation Tests with Applications in Biostatistics. Wiley, New York.
Examples
X <- matrix(rnorm(100*20), nrow=20)
out <- oneSample(X = X)
pv <- t2p(Test = out, alternative = "two.sided")
X <- matrix(rnorm(100*20), nrow=20)
rownames(X) <- c(rep(0, 10), rep(1,10))
out<- twoSamples(X = X)
pv <- t2p(Test = out, alternative = "two.sided")
[Package pecora version 0.1.1 Index]