You are given a dataset which describes that describes the number of oinks recorded from pigs depending on gender and diet. The dataset is given below. Copy and paste it into R. Given this data, we want to do a two-factor independent ANOVA. Calculate the sum of squares for the second factor (diet) and select the answer which is closest.\
diet = c(rep("slop", 8), rep("truffles", 8), rep("bacon", 8))\
gender = rep(c(rep("male", 4), rep("female", 4)), 3)\
oinks = c(14,12,8,14,9,12,11,10, 20, 18, 23,18,20, 18, 23, 19, 29, 26, 30,27,33,31,26,31)\
pig = data.frame(gender=gender, diet=diet, oinks=oinks)\
1278.6\
96.5\
14.1\
1946.6