Bayesian Integrative models for Trait Evolution
This is the working repository for the bite R package. This package implements the jive model and other Bayesian models aimed at understanding traits evolution. The original source code was obtained as supplementary data from Kostikova et al. (2016), but this version includes many improvements and updates.
The bite R package implements the Joint Inter- and intraspecific Variance Evolution (Kostikova et al. 2016). It uses a MCMC approach to estimates species means and variances of a trait, as well as the parameters of evolutionary models that describe the evolution of these shapes and variances.
You first need to install the devtools package.
$> install.packages("devtools")
$> library(devtools)
$> install_github("theogab/bite")
This package is provided as is with no garantee regarding the results or that it will performed as expected.
Kostikova, A., D. Silvestro, P. B. Pearman, and N. Salamin. 2016. Bridging inter- and intraspecific trait evolution with a hierarchical Bayesian approach. Syst Biol 65:417–431.
- Edit the help file skeletons in 'man', possibly combining help files for multiple functions.
- Edit the exports in 'NAMESPACE', and add necessary imports.
- Put any C/C++/Fortran code in 'src'.
- If you have compiled code, add a useDynLib() directive to 'NAMESPACE'.
- Run R CMD build to build the package tarball.
- Run R CMD check to check the package tarball.
Read "Writing R Extensions" for more information.