This is my first time using R. I am attempting to use a RPubs code to create a box plot chart with cld.The example I have is great, but I am struggling to adjust it to include a second explanatory variable. Can someone provide me with a way to change this so I can have charts for my conference. Thank you!!
Tk <- group_by(Clean.Data, Lbs.Acre, Cultivar) %>%
summarise(mean=mean(Stem.wt), quant = quantile(Stem.wt, probs = 0.75,na.rm=TRUE)) %>%
arrange(desc(mean))
Errors I have gotten include:
"summarise() has grouped output by 'Lbs.Acre'. You can override using the `.groups argument."
and
"trim' must be numeric of length one".