https://github.com/angeella/pecora
https://github.com/angeella/pecora
flipping permutation r rcpp
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/angeella/pecora
- Owner: angeella
- Created: 2019-12-10T10:22:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-08T14:31:32.000Z (about 1 year ago)
- Last Synced: 2025-01-08T15:53:04.951Z (about 1 year ago)
- Topics: flipping, permutation, r, rcpp
- Language: R
- Homepage:
- Size: 987 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
Awesome Lists containing this project
README
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:
```{r}
devtools::install_github("angeella/pecora")
library(pecora)
```
A toy example:
```{r}
X <- matrix(rnorm(10*100000,5,sd=5),100000,10)
system.time(out1 <- oneSample(X,1000))
```