powered by
dskellam(x, mu1, mu2, log=FALSE)rskellam(n, mu1, mu2)
skellam
dskellam
rskellam
dpois
mu1 = 1; mu2 = 2 x = (-7):7 plot(x, dskellam(x, mu1, mu2), type="h", las=1, col="blue", main=paste("Density of Skellam distribution with mu1=", mu1, " and mu2=", mu2, sep=""))
Run the code above in your browser using DataLab