Package: r2glmm 0.1.2.9001

r2glmm: Computes R Squared for Mixed (Multilevel) Models

The model R squared and semi-partial R squared for the linear and generalized linear mixed model (LMM and GLMM) are computed with confidence limits. The R squared measure from Edwards et.al (2008) <doi:10.1002/sim.3429> is extended to the GLMM using penalized quasi-likelihood (PQL) estimation (see Jaeger et al. 2016 <doi:10.1080/02664763.2016.1193725>). Three methods of computation are provided and described as follows. First, The Kenward-Roger approach. Due to some inconsistency between the 'pbkrtest' package and the 'glmmPQL' function, the Kenward-Roger approach in the 'r2glmm' package is limited to the LMM. Second, The method introduced by Nakagawa and Schielzeth (2013) <doi:10.1111/j.2041-210x.2012.00261.x> and later extended by Johnson (2014) <doi:10.1111/2041-210X.12225>. The 'r2glmm' package only computes marginal R squared for the LMM and does not generalize the statistic to the GLMM; however, confidence limits and semi-partial R squared for fixed effects are useful additions. Lastly, an approach using standardized generalized variance (SGV) can be used for covariance model selection. Package installation instructions can be found in the readme file.

Authors:Byron Jaeger [aut, cre]

r2glmm_0.1.2.9001.tar.gz
r2glmm_0.1.2.9001.zip(r-4.5)r2glmm_0.1.2.9001.zip(r-4.4)r2glmm_0.1.2.9001.zip(r-4.3)
r2glmm_0.1.2.9001.tgz(r-4.4-any)r2glmm_0.1.2.9001.tgz(r-4.3-any)
r2glmm_0.1.2.9001.tar.gz(r-4.5-noble)r2glmm_0.1.2.9001.tar.gz(r-4.4-noble)
r2glmm_0.1.2.9001.tgz(r-4.4-emscripten)r2glmm_0.1.2.9001.tgz(r-4.3-emscripten)
r2glmm.pdf |r2glmm.html
r2glmm/json (API)

# Install 'r2glmm' in R:
install.packages('r2glmm', repos = c('https://bcjaeger.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/bcjaeger/r2glmm/issues

On CRAN:

6.25 score 16 stars 223 scripts 671 downloads 40 mentions 8 exports 66 dependencies

Last updated 6 months agofrom:99b076fab0. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-winNOTENov 17 2024
R-4.5-linuxNOTENov 18 2024
R-4.4-winNOTENov 17 2024
R-4.4-macNOTENov 17 2024
R-4.3-winNOTENov 17 2024
R-4.3-macNOTENov 17 2024

Exports:calc_sgvcmp_R2glmPQLis.CompSymmake.partial.Cpqlmerr2betar2dt

Dependencies:abindafexbackportsbootbroomcarcarDataclicolorspacecowplotcpp11data.tableDerivdoBydplyrfansifarverFormulagenericsggplot2gluegridExtragtableisobandlabelinglatticelifecyclelme4lmerTestmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplyrpurrrquantregR6RColorBrewerRcppRcppEigenreshape2rlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr