powered by
The data frame KINDER contains the height in inches and weight in pounds of 20 children from a kindergarten class.
KINDER
A data frame with 20 observations on the following 2 variables:
ht (height in inches of each child)
ht
wt (weight in pounds of each child)
wt
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
# NOT RUN { ggplot(data = KINDER, aes(x = ht, y = wt)) + geom_point(color = "blue") + geom_smooth(method = "lm", color = "red") + labs(x = "height in inches", y = "weight in pounds") # }
Run the code above in your browser using DataLab