Predicting Black Cherry Tree Volume from Height

Pavel Zimin
July 16, 2017

The Problem

  • The wood of Black Cherry Trees is used in the United States for grilling and smoking food
  • It is important for Black Cherry Tree growers to estimate the volume of the timber
  • One of the ways of doing that is to use the tree height
  • You can estimate the tree volume quickly by using the Trees App

The Trees App is available at https://pavelzimin.shinyapps.io/trees/

The code is available at https://github.com/pavelzimin/treesApp

The Trees App

Simply select the height of your tree and the app will estimate its volume

alt text

The Data

  • Data used in this app was taken from trees data set in R datasets package (see the first 3 lines of the data at the bottom of this slide)
  • Linear regression model of tree volume as an outcome and the tree height as a predictor was created
  • Predicted volume was estimated and plotted on the scatter plot of tree volume vs tree height
head(trees, 3)
  Girth Height Volume
1   8.3     70   10.3
2   8.6     65   10.3
3   8.8     63   10.2

The Linear Regression Model

The following linear regression model was used to generate the graph

plot of chunk unnamed-chunk-2