rr2
1.1.1R2s for Regression Models
Overview
Three methods to calculate R2 for models with correlated errors, including Phylogenetic GLS, Phylogenetic Logistic Regression, Linear Mixed Models (LMMs), and Generalized Linear Mixed Models (GLMMs). See details in Ives 2018 doi:10.1093/sysbio/syy060.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) R2_lik.Rd:37: Lost braces; missing escapes or markup?
37 | \code{R2_lik()} is also computed for LMMs and GLMMs in the {MuMIn} package.
| ^
checkRd: (-1) R2_pred.Rd:32: Lost braces; missing escapes or markup?
32 | Note that the version of \code{binaryPGLMM()} in the package ape is replaced by a version contained within {rr2} that outputs all of the required information for the calculation of R2_resid.
| ^
checkRd: (-1) R2_resid.Rd:69: Lost braces; missing escapes or markup?
69 | Note that the version of \code{binaryPGLMM()} in the package ape is replaced by a version contained within {rr2} that outputs all of the required information for the calculation of \code{R2_resid()}
| ^- NOTE13 NOTE2026-09-25
- WARNING12 NOTE, 1 WARNING2026-09-18
- NOTE13 NOTE2026-06-09
- ERROR12 NOTE, 1 ERROR2026-06-08
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 10includes a package overview page
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 44%
- Documented parameters
- 100%
- Return-value docs
- 78%
- Help pages citing references
- 40%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 358
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/arives/rr2 on 2026-10-11.
Dependencies
Installing rr2 adds 47 packages (29 with compiled code, 38 MB of source tarballs). Heaviest: stringi 11 MB, lme4 4.1 MB, nloptr 2.1 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.1Latest
- RR 4.3.0 released · 2023-04-21
- 1.1.02022-11-18 · diff ↗ ·
removed 3 exports
R2.lik, R2.pred, R2.residadded 3 exports
R2_lik, R2_pred, R2_resid - RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.0.22019-05-09 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.0.12019-02-04 · diff ↗
- 1.0.02018-11-04
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-11-04
- Total releases
- 5 / 8 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.0
- Download size
- 31 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("rr2")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/sysbio/syy060, 10.21105/joss.01028.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.