How to create a boxplot in R

How to create a boxplot in R

  R Interview Questions

Box plot is one of the most intuitive tool to measure the spread of a variable. It is also called as a box-and-whisker plot.

For example, if you want to find out how the spread of the petal length is across the different iris flower species.

> b = boxplot(Sepal.Length ~ $Species, data = iris)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: