Skip to content
Prev 17288 / 398513 Next

identify with boxplot

Dear Remigijus,
At 09:59 PM 2/20/2002 +0100, Remigijus Lapinskas wrote:

            
You need to supply horizontal coordinates to identify -- e.g.,

 > set.seed(1)
 > x<-rcauchy(20)
 > names(x)<-letters[1:20]
 > boxplot(x)
 > identify(rep(1,20), x, labels=names(x))

(If you want to get row names from a data frame, that would work too.)

John

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._