[R] (d,p,r,q) for all distributions, but no m?

ALBERTO VIEIRA FERREIRA MONTEIRO albmont at centroin.com.br
Mon Sep 12 16:32:47 CEST 2016


Today I need to compute the means for some distributions... and there's no easy way to do it!

I mean (no pun intended), there is (d,p,r,q) for all distributions (like: dgamma, pgamma, rgamma, qgamma; dchisq, pchisq, rchisq, dchisp; etc), but there is no "m"-functions, like a mgamma to get the mean (or any momentum) of gamma, a mchisq, a mnorm, etc.

May I suggest adding these functions?

Alberto Monteiro



More information about the R-help mailing list