trees {base} | R Documentation |
This data set provides measurements of the girth, height and volume of timber in 31 felled black cherry trees. Note that girth is the diameter of the tree at 4 ft 6 in above the ground.
data(trees)
T. A. Ryan, B. L. Joiner and B. F. Ryan (1976). The Minitab Student Handbook. Duxbury Press.
A. C. Atkinson (1985). Plots, Transformations and Regression. Oxford University Press.
data(trees) pairs(trees, panel = panel.smooth, main = "trees data") plot(Volume ~ Girth, data = trees, log = "xy") coplot(log(Volume) ~ log(Girth) | Height, data = trees, panel = panel.smooth) summary(fm1 <- lm(log(Volume) ~ log(Girth), data = trees))