inst/snippets/Figure8.9.R

plotDist("chisq", params=list(df=1), col = "yellow", ylim = c(0, 0.5), xlim = c(0, 8))
plotDist("chisq", params=list(df=2), col = "green", add = TRUE)
plotDist("chisq", params=list(df=3), col = "lightblue", add = TRUE)
plotDist("chisq", params=list(df=4), col = "blue", add = TRUE)
plotDist("chisq", params=list(df=6), col = "purple", add = TRUE)
plotDist("chisq", params=list(df=9), col = "pink", add = TRUE)
rpruim/ISIwithR documentation built on May 28, 2019, 1:30 a.m.