I have a vector x and the probability Pr (X=x) and I want to fit the probability to density of Gamma distribution. How can I do it in R ? Thank you