Fits multivariate (Brownian Motion, Early Burst, ACDC, Ornstein-Uhlenbeck and Shifts) models of continuous traits evolution on trees and time series. 'mvMORPH' also proposes high-dimensional multivariate comparative tools (linear models using Generalized Least Squares) based on penalized likelihood. See
Clavel et al. (2015)
mvMORPH: an R package for fitting multivariate evolutionary models to morphometric data
This package allows the fitting of multivariate evolutionary models (Ornstein-Uhlenbeck, Brownian motion, Early burst, Shift models) on species trees and time series. It also provides functions to compute log-likelihood of users specified models with fast methods (e.g., for Bayesian approaches or customized comparative methods), simulates correlated traits under various models, constrain various parts of multivariate models...
The package is designed to handle ultrametric and non-ultrametric trees (i.e. with fossil species) and missing data in multivariate datasets (NA values), SIMMAP mapping of discrete traits, measurement error, etc...
See the packages vignettes for details and examples: browseVignettes("mvMORPH").
The current stable version of the mvMORPH package (1.0.8) is on the CRAN repository. https://cran.r-project.org/package=mvMORPH
You can install the package directly from gitHub through devtools:
library(devtools) install_github("JClavel/mvMORPH", build_vignettes = TRUE)
Any bugs encountered when using the package can be reported here
Clavel, J., Escarguel, G., Merceron, G. 2015. mvMORPH: an R package for fitting multivariate evolutionary models to morphometric data. Methods in Ecology and Evolution, 6(11):1311-1319. DOI: 10.1111/2041-210X.12420
+ Registration of compiled codes + New pruning algorithm to compute the determinant and square root matrix + Bugs fixes in "estim" for ancestral state reconstructions with OU models and "smean=FALSE" option. + Bug fix for "estim" with univariate data. + Corrected bug in mvSIM. + Fix bug with matrix parametrization "equaldiagonal". + add the "svd" option for simulating traits in mvSIM. + Bug fix in "mvEB".
+ Allows estimating the missing cases (NA) + Allows estimating trends + User defined constrained models and parameterizations + Return the log-likelihood function + Simulating traits on package vignette + Multivariate models for time-series (TS) + Partial implementation of a tests-suite