Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のような箱ひげ図を作成したいと思います。
このプロットは、latticeパッケージのbwplotによって作成されます。この関数を使用する代わりに、箱ひげ図を使用して同様のものをプロットしたいと思います。
箱ひげ図では、ボックス本体の色しか変更できないことに気付きましたが、ボックスプロット関数でボックスの境界色を変更するにはどうすればよいですか?ありがとう!
あなたが望むことを?boxplotする議論があることを見つけるために見てください。border=例えば:
?boxplot
border=
boxplot(count ~ spray, data = InsectSprays, col = "lightgray", border=c("blue", "green", "blue", "green", "blue", "green"))