qOP | R Documentation |
Quantile function of OPAG distribution for any base distribution
qMPo(p,par,distr,lower=0,upper,lower.tail=TRUE,log.p=FALSE)
p |
scalar or vector of probabilities. |
par |
named vector or list of the distribution parameters. |
distr |
character string specifying the base distribution (for example, "exp" for exponential base distribution). |
lower |
the lower end point of the interval to be searched. |
upper |
the upper end point of the interval to be searched. |
lower.tail |
logical; if TRUE, probability are P(X <= x), otherwise, P(X > x). |
log.p |
logical; if TRUE, probabilities p are given as log(p). |
An object of the same length as p, giving the quantile function values computed at p
Mohamed Hussein
qOP(p=0.5,c(rate=0.2,a=2,c=0.5),"exp",upper=100) qOP(0.25,c(rate=0.2,a=2,c=1.5),"exp",upper=100) qOP(0.75,c(a=2,c=2),"norm",upper=100) qOP(log(0.5),c(a=5,c=1,rate=0.5),"exp",lower=0,upper=100,log.p=TRUE) qOP(0.10,c(a=1.5,c=3,rate=0.5),"exp",lower=0,upper=100,lower.tail=FALSE) qOP(p=0.5,c(rate=0.2,a=2,c=2),"exp",upper=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.