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.plan...@gmail.com > 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.plan...@gmail.com > > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help@r-project.org mailing list > 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@r-project.org mailing list 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.