The box plot of an observation variable is a graphical representation based on its quartiles, as well as its smallest and largest values. It attempts to provide a visual shape of the data distribution.
Find the box plot of the eruption duration in the data set faithful.
We apply the boxplot function to produce the box plot of eruptions.
> boxplot(duration, horizontal=TRUE) # horizontal box plot
The box plot of the eruption duration is:
Find the box plot of the eruption waiting periods in faithful.