## Copy and paste the code chunk below into the top of your R Markdown document
library(ggplot2)
library(dplyr)
theme_set(theme_bw())
## Cattle data
cattle <- read.csv("https://collinn.github.io/data/cattle.csv")
Question 1: Which breed of cattle has the longest average horn length? Find the necessary statistics and create the appropriate plot to illustrate.
Question 2: Create a new categorical variable
milk that takes the value "large" if milk
production for a cow is above the median and "small" if it
is below. Create the appropriate graph to illustrate the relationship
between feed type and milk production
Question 3: We are now interested in learning if hormone treatment is associated with reduced milk production. Using the category created in Q2, perform a difference of proportions test