boxplot() — Box plot

boxplot(x)

Key idea

Definition

the 25th percentile (lower quartile)
the 75th percentile (upper quartile)
Q_3 minus Q_1, the middle-half width

Where you'd use it

Frequently asked questions

Does the box show the mean?
No — the line is the median. The box spans Q1–Q3 (the IQR).
What are the dots beyond the whiskers?
Points past about 1.5×IQR, flagged as possible outliers.