README.md

CatchAll

CatchAll: an R package to estimate species richness with finite exponential-mixed Poisson model.

This package contains functions that estimate the species richness with finite exponential-mixed Poisson models (up to the three-component exponential) mixed-Poisson model).

Installation

library(devtools)
install_github("/KenLi93/CatchAll")
library(CatchAll)

Basic Usage

library(breakaway)
data(apples)

Poisson Model:

Poisson_model(apples, cutoff = 20)

Geometric model (or single exponential-mixed Poisson model):

geometric_model(apples, cutoff = 20)

Two- or three-component exponential mixture mixed Poisson model:

two_geometric_model(apples, cutoff = 50)
three_geometric_model(apples, cutoff = 50)

An integrated function for simutaneously viewing the results of all above models for different cut-off of species frequency counts.

apples_results <- all_parametric_model(apples)
head(apples_results, 20)


KenLi93/CatchAll documentation built on May 7, 2019, 3:59 a.m.