Package: ptestR 0.1.1
ptestR: Permutation-Based Significance Testing for Regression Models
Wraps glm(), lme4::lmer(), and binomial glm() with a permutation loop to compute nonparametric p-values. For each model, ptestR generates a null distribution of the test statistic by randomly rearranging the outcome variable, then computes p.perm as the proportion of permuted statistics at least as extreme as the observed one. This approach requires far fewer distributional assumptions than standard Wald or likelihood-ratio tests, making it well-suited to neuroimaging, EEG, and other biomedical datasets with repeated measures and small samples.
Authors:
ptestR_0.1.1.tar.gz
ptestR_0.1.1.zip(r-4.7)ptestR_0.1.1.zip(r-4.6)ptestR_0.1.1.zip(r-4.5)
ptestR_0.1.1.tgz(r-4.6-any)ptestR_0.1.1.tgz(r-4.5-any)
ptestR_0.1.1.tar.gz(r-4.7-any)ptestR_0.1.1.tar.gz(r-4.6-any)
ptestR_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
ptestR/json (API)
| # Install 'ptestR' in R: |
| install.packages('ptestR', repos = c('https://code-neuro.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/code-neuro/ptestr/issues
Pkgdown/docs site:https://code-neuro.github.io
Last updated from:af7815cbc6 (on v0.1.0). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 169 | ||
| source / vignettes | OK | 304 | ||
| linux-release-x86_64 | OK | 183 | ||
| macos-release-arm64 | OK | 146 | ||
| macos-oldrel-arm64 | OK | 156 | ||
| windows-devel | OK | 126 | ||
| windows-release | OK | 143 | ||
| windows-oldrel | OK | 111 | ||
| wasm-release | OK | 164 |
Exports:grouped_perm_binoglmgrouped_perm_glmgrouped_perm_glmm
Dependencies:backportsbootbroombroom.mixedclicodacodetoolscpp11digestdplyrforcatsfurrrfuturegenericsglobalsgluelatticelifecyclelistenvlme4magrittrMASSMatrixminqamodelrnlmenloptrparallellypillarpkgconfigpurrrR6rbibutilsRcppRcppEigenRdpackreformulasrlangstringistringrtibbletidyrtidyselectutf8vctrswithr
Last update: 2026-05-31
Started: 2026-05-31
Last update: 2026-05-31
Started: 2026-05-31
Last update: 2026-05-31
Started: 2026-05-31
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Permutation test for binomial logistic regression | grouped_perm_binoglm |
| Permutation test for generalised linear models | grouped_perm_glm |
| Permutation test for linear mixed-effects models | grouped_perm_glmm |
