Nothing
rtnegbin <-
function(N,mu,dispersion,l.bound){
sample=rep(NA,N)
mu=rep(mu,length=N)
l.bound=rep(l.bound,length=N)
n=1:N
ind=n
while(length(ind)!=0){ ##rejection sampling
sample[ind]=rnbinom(length(ind),mu=mu[ind],size=dispersion)
ind=which(sample<l.bound)
}
return(sample)
}
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.