Try this:

result <- boxplot(Petal.Length ~ Species, iris)
if (length(result$out))
  text(result$group, result$out, result$out, pos = 4, col = "red")

On 9/26/05, Yulei He <[EMAIL PROTECTED]> wrote:
> Hi, there.
>
> I have two questions about using R to create boxplots.
>
> 1. The function boxplot() plots the outliers. How can I label the exact
> values arount these outlier points? Does R have an option allow me to
> do that?
>
> 2. How can I put two boxplots in one x-y axis?
>
> Thanks.
>
> Yulei
>
>
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
> Yulei He
> 276 Grove St. Apt 3
> Newton, MA 02466
> 617-796-7834(H)
> 617-432-3428(O)
> 617-432-3435(fax)
> $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
>
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to