VolcanoHeights | R Documentation |
Heights of 218 volcanos taken from Tukey (1972).
data("VolcanoHeights")
A numeric vector of 218 volcano heights (in 1000 feet).
The data are taken from Tukey (1972) who obtained them from The World Almanac, 1966 (New York: The New York World-Telegram and The Sun, 1966), pp. 282–283.
Figure 1 in Tukey (1972).
Tukey JW (1972). “Some Graphic and Semigraphic Displays.” In Bancroft TA (ed.), Statistical Papers in Honor of George W. Snedecor, pp. 293–316. Iowa State University Press, Ames, IA. Reprinted in Cleveland WS (ed.): The Collected Works of John W. Tukey, Volume V. Graphics: 1965–1985, Wadsworth & Brooks/Cole, Pacific Grove, CA, 1988.
## Rootograms from Tukey (1972)
## (some 'breaks' don't match exactly)
library("topmodels")
data("VolcanoHeights", package = "countreg")
## Figure 16
rootogram(lm(VolcanoHeights ~ 1), style = "standing",
breaks = 0:20 - 0.01, expected = FALSE, confint = FALSE)
## Figure 17
rootogram(lm(sqrt(1000 * VolcanoHeights) ~ 1), style = "standing",
breaks = 0:17 * 10 - 1.1, expected = FALSE, confint = FALSE)
## Figure 18
rootogram(lm(sqrt(1000 * VolcanoHeights) ~ 1), style = "hanging",
breaks = -2:18 * 10 - 1.1, confint = FALSE)
## Figure 19
rootogram(lm(sqrt(1000 * VolcanoHeights) ~ 1), style = "suspended",
breaks = -2:18 * 10 - 1.1, ylim = c(6, -2), confint = FALSE)
abline(h = c(-1.5, -1, 1, 1.5), lty = c(2, 3, 3, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.