First read in the data:
The first is to draw the boxplot with no features
The second is filling the box area with blue color.
The third is the box plot splited by a categorical variable ses:
Next is to rename the levels of the categorical variable:
The fifth one is to set notch = TRUE
A little more, if we want to add outliers on the plot, it should be like:
No comments:
Post a Comment