pOP: Odd Parteo G distribution

pOPR Documentation

Odd Parteo G distribution

Description

Cumulative distribution function of OPGA distribution for any base distribution

Usage

pOP(q,par,distr,lower.tail = TRUE, log.p = FALSE)

Arguments

q

vector of quantiles

par

named vector or list of the distribution parameters

distr

a character string specifying the base distribution (for example, "exp" for exponential base distribution).

lower.tail

logical; if TRUE, probability is P(X <= x), otherwise, P(X > x).

log.p

logical; if TRUE, probabilitiy p is given as log(p).

Value

An object of the same length as q, giving the cdf values computed at q

Author(s)

Mohamed Hussein

Examples

pOP(q=2,par=list(a=1,c=2,rate=3),distr="exp")
pOP(c(2,3,4),par=c(scale=2,shape=2,a=3,c=2),distr="weibull")

MHussein-S/OPAG documentation built on June 2, 2022, 12:29 p.m.