ran.nb <- function(par, nsamp){ rnbinom( mu = par[1], size = 1/par[2], n=nsamp) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.