Code for creating boxplot

Attempting to put some data into a boxplot. How should I go about creating a code for this?

http://ggplot2.tidyverse.org/reference/geom_boxplot.html

4 Likes

Although I am also a fan of ggplot there is a simple boxplot function in base R (https://www.statmethods.net/graphs/boxplot.html). Depending on your needs, this could work as well.

2 Likes

You may also find this SO answer useful if you are trying to build your boxplot from summary statistics rather than raw data.

For future reference, it is much easier for the community to provide you with detailed answers if you ask a more specific questions with examples of what your data looks like, what you have tried, and what exactly you are looking for.