moOP | R Documentation |
The $n$th ordinary moment of the OPAG distribution for any base distribution
moOP(n,par,distr)
n |
moment of order n |
par |
named vector or list of the distribution parameters. |
distr |
a character string specifying the base distribution (for example, "exp" for exponential base distribution). |
An object of the same length as x, giving the rth moment
Mohamed Hussein
moOP(n=2,par=c(rate=2,a=3,c=2),distr="exp") moOP(n=3,par=c(rate=0.2,a=1,c=2),distr="exp") moOP(n=1,par=c(scale=2,shape=2,a=3,c=2),distr="weibull")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.