These functions are simple wrappers around existing random number generators in R to provide stochastic count data for simulated species.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |

`n` |
the number of random draws, equal to number of species times the number of gradient locations. |

`mu` |
the mean or expectation of the distribution. For |

`alpha` |
numeric; dispersion parameter for the negative binomial distribution. May be a vector of length |

`size` |
numeric; binomial denominator, the total number of individuals counted for example |

`theta` |
numeric; a positive |

`zprobs` |
numeric; zero-inflation parameter giving the proportion of extraneous zeros. Must be in range |

a vector of random draws from the stated distribution.

Gavin L. Simpson

Bolker, B.M. (2008) *Ecological Models and Data
in R.* Princeton University Press.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.