Learn R Programming

evolvability

evovability is an R-package for calculating evolvability parameters from G-matrices (see Hansen and Houle 2008 https://doi.org/10.1111/j.1420-9101.2008.01573.x and Bolstad et al. 2014 https://doi.org/10.1098/rstb.2013.0255) and for fitting phylogenetic comparative models that link the rate of evolution of a trait to the state of another evolving trait (see Hansen et al. 2021 Systematic Biology https://doi.org/10.1093/sysbio/syab079).

The package includes two vignettes. One on analyzing rates of evolution and one on fitting phylogenetic mixed models.

The latest version of the package can be downloaded by devtools::install_github(repo = "GHBolstad/evolvability", build_vignettes = TRUE)

Copy Link

Version

Install

install.packages('evolvability')

Monthly Downloads

339

Version

2.0.1

License

GPL (>= 2)

Maintainer

Geir H Bolstad

Last Published

June 5th, 2025

Functions in evolvability (2.0.1)

randomBeta

Generating selection gradients/vectors in random directions.
evolvabilityMeans

Calculate average evolvability parameters of a G-matrix
macro_pred

Macroevolutionary predictions
plot.rate_gls

Plot of rate_gls object
plot.simulate_rate

Plot of simulate_rate object
rate_gls

Generalized least squares rate model
phylH

Phylogenetic heritability
round_and_format

Rounds and formats in the same function
evolvabilityMeansMCMC

Calculate posterior distribution of average evolvability parameters of a G-matrix
meanStdG

Mean standardize a variance matrix
meanStdGMCMC

Mean standardize the posterior distribution of a G-matrix
rate_gls_boot

Bootstrap of the rate_gls model fit
responsediffBeta

Calculate response differences along a set of selection gradients
simulate_rate

Simulating evolutionary rate model
summary.evolvabilityBetaMCMC

Summarizing posterior distribution of evolvability parameters over a set of selection gradients
summary.responsediffBeta

Summarizing response differences over a set of selection gradients
summary.evolvabilityBeta

Summarizing evolvability parameters over a set of selection gradients
rate_gls_sim

Simulate responses from rate_gls fit
evolvabilityBeta

Calculate evolvability parameters along a set of selection gradients
Almer_boot

Parametric bootstrap on Almer model fit
GLS

Generalized least square
Almer_sim

Simulate responses from Almer fit
Almer_SE

Linear mixed model for response variables with uncertainty
Almer

Linear mixed model with correlated random effects structure
evolvabilityBetaMCMC

Calculate posterior distribution of evolvability parameters from a set of selection gradients
evolvabilityBetaMCMC2

Calculate posterior distribution of evolvability parameters from a selection gradient estimated with uncertainty
conditionalG

Computing a conditional sub-matrix of G
evolvability-package

Calculation of Evolvability Parameters