R2s for Regression Models
Phylogenetic GLM for binary data
Invert logit function
Partial R2
Adjusted partial R2
Calculate R2_lik, R2_resid, and R2_pred
Calculate R2_lik
Calculate R2_pred
Calculate R2_resid
rr2: An R package to calculate R2s for regression models
Transform a phylogeny based on a phylolm model
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>.