Nothing
sampleK <-
function(mini, maxi, lambda, nb){
if( mini == maxi) { print("Error with sampling from a truncated Poisson: mini = maxi") }
out = sample( mini:maxi, nb, replace=TRUE, prob=lambda^(mini:maxi)/apply(matrix(mini:maxi, 1, maxi-mini+1), 2, factorial))
return(out)
}
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.