rOP: Odd Parteo G distribution

View source: R/rOP.R

rOPR Documentation

Odd Parteo G distribution

Description

Generates random deviates from OPAG distribution for any base distribution

Usage

rOP(n,par,distr)

Arguments

n

number of random variates to be generated

par

named vector or list of the distribution parameters

distr

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

Value

Random deviates from theOdd Parteo G distribution, length of the result is determined by n

Author(s)

Mohamed Hussein

Examples

x<-rOP(n=500,par=c(rate=2,a=3,c=2),distr="exp")
rOP(n=100,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.