Learn R Programming

The pecora (permutation conditional random) package provides functions to perform the one-sample and two-samples t-tests using permutations/sign-flipping.

To install it:

devtools::install_github("angeella/pecora")

library(pecora)

A toy example:

X <- matrix(rnorm(10*100000,5,sd=5),100000,10)

system.time(out1 <- oneSample(X,1000))

Copy Link

Version

Install

install.packages('pecora')

Monthly Downloads

184

Version

0.1.2

License

GPL (>= 2)

Maintainer

Angela Andreella

Last Published

January 9th, 2025

Functions in pecora (0.1.2)

twoSamples

Permutatation-based two sample t-test
oneSample

Permutatation-based one sample t-test
t2p

From t-tests to p-values
pecora-package

pecora-package