rMAP | R Documentation |
Generates random deviates from MAP distribution for any base distribution using acceptance rejection criteria
rMAP(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 alpha power distribution, length of the result is determined by n
Mohamed Hussein
Hussein, M.; Elsayed, H.; Cordeiro, G.M. A New Family of Continuous Distributions: Properties and Estimation. Symmetry 2022, 14, 276. https://doi.org/10.3390/sym14020276
x<-rMAP(n=500,par=c(rate=2,alpha=3,beta=2),distr="exp")
rMAP(n=100,par=c(scale=2,shape=2,alpha=3,beta=2),distr="weibull")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.