# Gamma distribution what is scale and rate

I have question regarding the gamma distribution when using

alpha <- 3
beta <- 3
x <- rgamma(n = 100, shape = alpha, scale = 1/beta)

fitdistr(x,"gamma"


I get shape to 3.9 and rate to 3.4.

Are the rate=beta or is the rate=theta? What is the difference between scale and rate? Note: I did not understood what they said on Wiki

If you consider the notations on wiki, there $$\theta$$ is the scale parameter. So, $$1/\theta$$ is the rate. That means its $$\beta$$.
• In your output you have rate. That means rate = $\beta$ – Zeeba Oct 1 at 16:15