Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

Re: [R] Box Plot outliers label

Henrique Dallazuanna

2009-07-02

Replies: Find Java Web Hosting

Author LoginPost Reply
Try something about like this:

bp <- boxplot(x ~ id, data = DF)
text(bp$group, bp$out, labels = "Teste", pos = 3)


On Thu, Jul 2, 2009 at 7:40 PM, Raphael Saldanha <saldanha.plangeo@(protected)
> wrote:

> Hi!
>
> How can I add labels in the outliers inside a boxplot.
>
> Here is my code, at now:
>
> mun <- as.data.frame(read.csv2("consolidada_v3.csv"))
>
> micro <- mun$nmicro
> medprop <- mun$medprop
>
> mimedprop <- split(medprop, micro)
>
> boxplot(mimedprop, col="chartreuse3", main="Área média das propriedades
> rurais", xlab="Microrregiões", ylab="ha")
>
> I have 11 outliers, and the IDs are unique.
>
>
> --
> Regards,
>
> Raphael Saldanha
> saldanha.plangeo@(protected)
>
>     [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help@(protected)
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>


--
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

 [[alternative HTML version deleted]]

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
©2008 r-help.com - Jax Systems, LLC, U.S.A.