Skip to content
R package ecolottery
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pkg More compact syntax for environmental filter influence May 19, 2019
.gitignore Adapt the package to fulfill cran requirement Dec 28, 2015
.travis.yml warnings_are_errors: false Feb 27, 2019
README.md Update README.md Jul 3, 2017
ecolottery.Rproj LaTeX computing Apr 7, 2018

README.md

ecolottery

Build Status

Coalescent-Based Simulation of Ecological Communities

This package allows quick and efficient simulation of communities with combination of environmental filtering and neutral birth-death dynamics. We also provide an Approximate Bayesian Computation tool to assess parameters of these processes from observed communities. We propose a coalescent-based approach that presents significant advantages over alternative algorithms, allowing intensive calculation schemes. It does not require simulating community dynamics from an initial state forward in time, and the genealogical approach can incorporate the influence of environmental filtering on immigration and establishment. The sampling process allows simulating varying sample size in a flexible way. The package also includes a forward-in-time simulation algorithm to investigate a broader range of niche-based dynamics, albeit it requires greater resources and computation time.

Installing the package

The version 1.0.0 is available on CRAN, https://cran.r-project.org/web/packages/ecolottery/index.html

install.packages("ecolottery")

The development version on Github can be installed using the devtools package:

devtools::install_github("frmunoz/ecolottery/pkg", build_vignettes = TRUE)

How to use the package

The two main functions of the package are coalesc() and forward(). You can learn more on how to use them by looking at the introduction vignette.

If you want to see how coalesc_abc() allows estimating parameters of community assembly with the ABC approach, have a look at the Barro Colorado vignette.

You can’t perform that action at this time.