gamlss.family object to be used in GAMLSS fitting using the function gamlss().
The mu parameter represents the mean of the distribution. 
The functions dEXP, pEXP, qEXP and rEXP define the density, 
distribution function, quantile function and random generation for the specific parameterization 
of the exponential distribution defined by function EXP.EXP(mu.link ="log")
dEXP(x, mu = 1, log = FALSE)
pEXP(q, mu = 1, lower.tail = TRUE, log.p = FALSE)
qEXP(p, mu = 1, lower.tail = TRUE, log.p = FALSE)
rEXP(n, mu = 1)mu parameter,                                   other links are "inverse" and "identity"gamlss.familyy<-rEXP(1000,mu=1) # generates 1000 random observations 
hist(y)
# library(gamlss)
# histDist(y, family=EXP)Run the code above in your browser using DataLab