k_negative_binomial: Negative binomial

View source: R/negative_binomial.R

k_negative_binomialR Documentation

Negative binomial

Description

Calculate binomial negative aggregation index. Note that this function is a very simple implementation of fitdist from fitdistrplus package for pragmatic purpose. You can do much more with fitdistrplus.

Usage

k_negative_binomial(x)

k_negative_binomial_inverse(x)

Arguments

x

number of parasites by host

Functions

  • k_negative_binomial_inverse(): K from binomial negative inverse

References

Delignette-Muller, Marie Laure, and Christophe Dutang. 2015. “Fitdistrplus: An R Package for Fitting Distributions.” Journal of Statistical Software 64 (4): 1–34. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v064.i04")}

Examples

attach(birdticks)
k_negative_binomial(ticks)
attach(birdticks)
k_negative_binomial_inverse(ticks)

ralphmp/ecopaR documentation built on May 27, 2023, 3:50 p.m.