r2glmm: Computes R Squared for Mixed (Multilevel) Models
Version 0.1.1

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) is extended to the GLMM using penalized quasi-likelihood (PQL) estimation (see Jaeger et al. 2016 ). Three methods of computation are provided and described as follows. Firstly, 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. Secondly, The method introduced by Nakagawa and Schielzeth (2013) and later extended by Johnson (2014) . 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.

Browse man pages Browse package API and functions Browse package files

AuthorByron Jaeger [aut, cre]
Date of publication2016-11-28 22:10:47
MaintainerByron Jaeger <byron.jaeger@gmail.com>
LicenseGPL-2
Version0.1.1
URL https://github.com/bcjaeger/r2glmm
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("r2glmm")

Man pages

calc_sgv: Compute the standardized generalized variance (SGV) of a...
cmp_R2: Compute r2beta with a specified C matrix Compute R2 with a...
glmPQL: Compute PQL estimates for fixed effects from a generalized...
is.CompSym: Checks if a matrix is Compound Symmetric.
make.partial.C: Generate partial contrast matrices
plot.R2: Visualize standardized effect sizes and model R squared
pqlmer: pqlmer
print.R2: Print the contents of an R2 object
r2beta: r2beta
r2dt: R Squared Difference Test (R2DT). Test for a statistically...

Functions

calc_sgv Man page Source code
cmp_R2 Man page Source code
glmPQL Man page Source code
is.CompSym Man page Source code
make.partial.C Man page Source code
plot.R2 Man page Source code
pqlmer Man page Source code
print.R2 Man page Source code
r2beta Man page Source code
r2beta.glm Source code
r2beta.glmerMod Source code
r2beta.glmmPQL Source code
r2beta.lm Source code
r2beta.lme Source code
r2beta.lmerMod Source code
r2dt Man page Source code

Files

tests
tests/testthat.R
tests/testthat
tests/testthat/test_R2.R
NAMESPACE
R
R/r2dt_Function.R
R/plot_r2_Function.R
R/r2beta_glmmPQL_Function.R
R/cmpR2_Function.R
R/glm_PQL_Function.R
R/r2beta_glm_Function.R
R/mpc_Function.R
R/r2beta_lme_Function.R
R/r2beta_Function.R
R/r2_sgv_est_Function.R
R/r2beta_lm_Function.R
R/r2beta_glmerMod_Function.R
R/r2beta_lmerMod_Function.R
README.md
MD5
DESCRIPTION
man
man/print.R2.Rd
man/is.CompSym.Rd
man/glmPQL.Rd
man/calc_sgv.Rd
man/r2dt.Rd
man/pqlmer.Rd
man/cmp_R2.Rd
man/make.partial.C.Rd
man/plot.R2.Rd
man/r2beta.Rd
r2glmm documentation built on May 19, 2017, 10:18 p.m.