powered by
Density, distribution function, quantile function and random generation for the Yule-Simon distribution.
dyules(x, shape, log = FALSE) pyules(q, shape, lower.tail = TRUE, log.p = FALSE) qyules(p, shape) ryules(n, shape)
Same meaning as in Normal.
Normal
See yulesimon.
yulesimon
Same meaning as in pnorm or qnorm.
pnorm
qnorm
dyules gives the density, pyules gives the distribution function, qyules gives the quantile function, and ryules generates random deviates.
dyules
pyules
qyules
ryules
See yulesimon, the VGAM family function for estimating the parameter, for the formula of the probability density function and other details.
yulesimon.
# NOT RUN { dyules(1:20, 2.1) ryules(20, 2.1) round(1000 * dyules(1:8, 2)) table(ryules(1000, 2)) # } # NOT RUN { x <- 0:6 plot(x, dyules(x, shape = 2.2), type = "h", las = 1, col = "blue") # }
Run the code above in your browser using DataLab