For this question you need R, sometimes a simple command will suffice, but for the last few questions you will require logical operators or even finding the subset of the data frame. Complete the blanks with the appropriate answers rounded to 2 decimals and if the answer is a percentage, enter a number between 0 and 1 (e.g. if the answer is 53.4% you should enter 0.53).

The data frame trees (already part of base R) provides measurements of felled black cherry trees for the Girth (diameter) in inches, the Height in feet and the Volume in cubic feet. For this problem, we'll focus on the variable Girth. Complete the blanks. Round your answers to 2 decimals and enter percentages as numbers between 0 and 1 (e.g., if the answer is 53.4% enter 0.53)

(i) The average tree diameter is ___ inches
(ii) The median tree diameter is ___ inches
(iii) The SD of the diameter is ___ inches
(iv) The IQR of the diameter is ___ inches
(v) The percentage of trees with a diameter greater than 15 inches is ___
(vi) The number of trees with a diameter between 9 and 12 inches (inclusive) is ___
(vii) The percentage of trees with a diameter greater than 15 inches and height less than 74 feet is ___
(viii) The average tree diameter, given that their height is less than 74 is ___ inches