Is there a way to color only the median line of the boxplot and not the whole boxplot.
When I try this :
boxplot(matrix,col="red")
then the whole box gets red colored. I want to color only the median line of the boxplot.
Is there a way to do it in R ??
Try medcol
as in
boxplot(matrix(rnorm(100), ncol=2), medcol="red")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With