Learn R Programming

R330 (version 1.0)

cherry.df: Girth, Height and Volume for Black Cherry Trees

Description

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 (in inches) measured at 4 ft 6 in above the ground.

Usage

data(cherry.df)

Arguments

Format

A data frame with 31 observations on the following 3 variables:
diameter
Tree diameter in inches
height
Height in ft
volume
Volume of timber in cubic ft

Source

Ryan, T. A., Joiner, B. L. and Ryan, B. F. (1976) The Minitab Student Handbook. Duxbury Press.

References

Atkinson, A. C. (1985) Plots, Transformations and Regression. Oxford University Press.

Examples

Run this code
data(cherry.df)
cherry.lm =lm(volume~diameter+height,data=cherry.df) 
new.df = data.frame(diameter=c(11,12),
             height=c(85,90))
predict(cherry.lm,new.df)

Run the code above in your browser using DataLab