# Wrappers to random number generators for use with coenocliner

### Description

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

### Usage

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

### Arguments

`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 |

### Value

a vector of random draws from the stated distribution.

### Author(s)

Gavin L. Simpson

### References

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.