rMPo | R Documentation |
Generates random deviates from MPo distribution for any base distribution
rMPo(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 the modified power distribution, length of the result is determined by n
Mohamed Hussein
x<-rMPo(n=500,par=c(rate=2,a=3),distr="exp") rMPo(n=100,par=c(scale=2,shape=2,a=3),distr="weibull")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.