Nothing
rPT <- function(n, mu, D, a, max=10*sqrt(mu*D), tol=1e-4)
{
dd <- cumsum(dPT(0:max, mu, D, a))
if (1-max(dd) > tol)
warning("Increase 'max' argument to obtain better simulated data")
prob <- runif(n, 0, max(dd))
ans <- sapply(prob, function(x, dd, max) c(0:max)[dd>=x][1], dd=dd, max=max)
ans
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.