# R - Parameter estimates for non central chi squared distribution

I have a vector that has a non-central chi-squared distribution. How do I estimate its distributional parameters i.e. degrees of freedom $d$ and non-centrality parameter $\lambda$?

I don't think there is an R-package estimating this noncentral parameter, altough I know that fpow can estimate noncentral parameters of F-distributions.