EMMLi: A Maximum Likelihood Approach To The Analysis Of Modularity
An R package for performing analyses of modularity on morphological landmark data.
The only function is
EMMLi which takes a correlation matrix and a data frame that describes a number of modular models.
A. Goswami and J. Finarelli (2016) EMMLi: A maximum likelihood approach to the analysis of modularity. Evolution http://onlinelibrary.wiley.com/doi/10.1111/evo.12956/abstract
To install the CRAN version
or to install the development version from GitHub
The package contains one function,
This function takes a correlation matrix, a data frame defining a set of models (which landmarks are part of which module) and the sample size (number of specimens).
# An example correlation matrix dim(macacaCorrel) # An example data frame that defines the models head(macacaModels) # Run EMMLi output <- EMMLi(macacaCorrel, 20, macacaModels)