Learn R Programming

openintro (version 2.4.0)

cherry: Summary information for 31 cherry trees

Description

Researchers wanting to understand the relationship between these variables for black cherry trees collected data from 31 trees in the Allegheny National Forest, Pennsylvania.

Usage

cherry

Arguments

Format

A data frame with 31 observations on the following 3 variables.

diam

diameter in inches (at 54 inches above ground)

height

height is measured in feet

volume

volume in cubic feet

Examples

Run this code

library(ggplot2)
library(broom)

ggplot(cherry, aes(x = diam, y = volume)) +
  geom_point() +
  geom_smooth(method = "lm")

mod <- lm(volume ~ diam + height, cherry)
tidy(mod)

Run the code above in your browser using DataLab