sal_x_sal
sal_x_sal

Reputation: 105

How to change the width of the boxplot frame in R

I am trying to change the thickness of the border containing the boxplot figure. Is there a way to do this in R? Attached is the image with an arrow pointing to the border that I am talking about whose thickness I would like to change illustration image

Thanks!

Upvotes: 1

Views: 3505

Answers (1)

G5W
G5W

Reputation: 37641

You can do that by overwriting the existing box with a heavier one.

boxplot(iris$Sepal.Length ~ iris$Species)
box(lwd=3)

Boxplot

Upvotes: 1

Related Questions