powered by
Plot the PDF of the Gamma distribution.
plotGamma(shape, rate)
shape (\(\alpha\)) parameter of the Gamma distribution.
rate (\(\beta\)) parameter of the Gamma distribution.
The PDF of Gamma(shape, rate).
Note: We use the shape/rate parametrization of Gamma. See https://en.wikipedia.org/wiki/Gamma_distribution for details.
# NOT RUN { plotGamma(1, 1) plotGamma(2, 5) # } # NOT RUN { plotGamma(2, 5) + ggtitle('I hate the default title!') # }
Run the code above in your browser using DataLab