rOP | R Documentation |
Generates random deviates from OPAG distribution for any base distribution
rOP(n,par,distr)
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). |
Random deviates from theOdd Parteo G distribution, length of the result is determined by n
Mohamed Hussein
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.