From the course: R for Data Science: Lunch Break Lessons

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

boxplot

boxplot

- [Instructor] Aura has quite a selection of different types of plotting tools. And one of the most useful, for me at least, has been box plot. So let's take a quick look at that. We have ChickWeight already loaded in so we can create a quick box plot of ChickWeight. To create a box plot, I type in boxplot parentheses and I'll type in ChickWeight and let's just quickly graft the weight and we'll see what we get from that. So we get a very simple box plot. It's very easy to do. If you've looked at box plots before, you'll understand that the bottom line represents the minimum value. The box encompasses the second quartile to the third quartile. The dark black line is the median and the top line is the fourth quartile. And then the circles above the top line are outliers. And you can change how box plot works. Let's take a look at some of the parameters that you can change and modify. So we'll type in again, we have boxplot, and rather than typing in the exact values, we can create a…

Contents