I am quite new with R and R-Studio and I am currently trying to make a grouped boxplot, which did not work with SPSS. I have created a dataframe (Tidy_Supporting) with three columns (Group, location, countings).
If I run the following code :
ggplot(data = Tidy_Supporting, mapping = aes(x=location, y=countings, fill=Group)) + geom_boxplot()+ labs(y="Total Supporting Cells") +labs(x="Cochlea Location")
Which gives me the following boxplot:
However, I want to delete all the 'Tot-Supp' text, so only the 'A1' text remains. Also, I want to change the order of the plotted boxes from the alphabet into
The last thing I want to change is the line into whiskers.
Can anyone help me out? I am forever grateful!!