R/rggamma.R

Defines functions rggamma

Documented in rggamma

rggamma <-
function(n,shape1,scale,shape2){
 y <- rgamma(n,shape2)
 return(scale*y^(1/shape1))
}

Try the SGB package in your browser

Any scripts or data that you put into this service are public.

SGB documentation built on March 26, 2020, 8:02 p.m.