Nothing
rggamma <-
function(n,shape1,rate1,shape2){
### Error checking
# shape2 must be an integer
shape2 <- as.integer(shape2)
### Generate y
y <- rgamma(n,shape=shape1,rate=rate1)
### Generate X
out <- rgamma(n,shape=shape2,rate=y)
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.