dyules(x, rho, log.arg=FALSE)
pyules(q, rho)ryules(n, rho)
yulesimon
.dyules
gives the density,
pyules
gives the distribution function, and ryules
generates random deviates.yulesimon
, the yulesimon
.dyules(1:20, 2.1)
ryules(20, 2.1)
round(1000 * dyules(1:8, 2))
table(ryules(1000, 2))
x = 0:6
plot(x, dyules(x, rho=2.2), type="h", las=1, col="blue")
Run the code above in your browser using DataLab