powered by
shape
scale
rgammashift(n, shape, scale)
n
## The function is currently defined as function (n, shape, scale) { x <- rgamma(n = n, shape = shape, scale = scale) - shape*scale return(x) } x <- rgammashift(500,4,2) plot(density(x))
Run the code above in your browser using DataLab