I'm sure this is a simple problem, but I'm not sure how to search and find the answer.
I have a set of parameters that I've estimated using 'fitdist':
Fitting of the distribution ' gamma ' by matching moments Parameters: estimate shape 0.2018062 rate 3.1255336
now I want to pull those parameters and store them in variables. But I can't figure out how to separate them. I've tried:
> gamma.fit$estimate shape rate 0.2018062 3.1255336
but how do I pull the specific elements? (e.g. shape = 0.2018062 and rate = 3.1255336)
I've tried using normal data frame tools but I get an 'incorrect number of dimensions' error.
Any ideas would be greatly appreciated, sorry if this is covering old territory.