
a
and p
, and scale parameter scale
.ddagum(x, a, scale, p.arg, log=FALSE)
pdagum(q, a, scale, p.arg)
qdagum(p, a, scale, p.arg)
rdagum(n, a, scale, p.arg)
length(n) > 1
, the length
is taken to be the number required.log=TRUE
then the logarithm of the density is returned.ddagum
gives the density,
pdagum
gives the distribution function,
qdagum
gives the quantile function, and
rdagum
generates random deviates.dagum
, which is the dagum
,
genbetaII
.y = rdagum(n=3000, 4, 6, 2)
fit = vglm(y ~ 1, dagum(init.a=2.1), trace=TRUE, crit="c")
coef(fit, mat=TRUE)
Coef(fit)
Run the code above in your browser using DataLab