WhiteSpruce {ConSpline} | R Documentation |
A standard scatterplot example from various statistics text books, representing height versus diameter of White Spruce trees.
data("WhiteSpruce")
A data frame with 36 observations on the following 2 variables.
Diameter
Diameter at "breast height" of tree
Height
Height of tree
data(WhiteSpruce) plot(WhiteSpruce$Diameter,WhiteSpruce$Height) ans=conspline(WhiteSpruce$Height,WhiteSpruce$Diameter,7) lines(sort(WhiteSpruce$Diameter),ans$muhat[order(WhiteSpruce$Diameter)])