#Dear all,

#Could anyone help me with the following?
#DATA
num <- as.numeric(seq(100:125))
ave <- c(0.5, 1, 1.6, 2, 2, 2.3, 2.5, 2.4, 3, 3.2, 3.3, 4, 4.8, 3.5, 2.7, 3.1, 
2.8, 3.5, 4.1, 2.0, 2.5, 2.1, 3.4, 2.5, 2.6, 7)
DATA <- data.frame(cbind(num, ave))
rm(num, ave)

#BOXPLOT
x11()
bp <- boxplot(DATA$ave, data= DATA, main= "Average Size")
identify(x= bp$group, y= bp$out, labels= DATA$num, cex = 0.7) 
#I would like the labels that appear in the boxplot to be DATA$num values. 
#When I identify the outlier it appears a "1" when I would like to appear a "26"

#Do you have any idea of how I could do that?

#Many thanks!
 
#Bea
        [[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.

Reply via email to