dOP: Odd Parteo G distribution

dOPR Documentation

Odd Parteo G distribution

Description

Probability density function of OPAG distribution for any base distribution

Usage

dOP(x,par,distr, log = FALSE)

Arguments

x

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).

log

logical; if TRUE, the values of log(pdf), at x, are given.

Value

An object of the same length as x, giving the pdf values computed at x

Author(s)

Mohamed Hussein

Examples

dOP(x=2,par=list(a=1,c=2,rate=3),distr="exp")
dOP(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.