mOP | R Documentation |
The $n$th incomplete moment (E[X^n|X<y]) of the OPAG distribution for any base distribution
mOP(n,par,y,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). |
y |
upper limit of X |
An object of the same length as x, giving the rth moment
Mohamed Hussein
mOP(n=2,par=c(rate=2,a=3,c=2),y=2,distr="exp") mOP(n=3,par=c(rate=0.2,a=1,c=2),y=3,distr="exp") mOP(n=1,par=c(scale=2,shape=2,a=3,c=2),y=2,distr="weibull")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.