Here's one approach. values <- c(rnorm(1000,-5,1),rnorm(1000,10,0.5)) boxplot(values) text(1,0,labels="better use violin plots",col="red") #------ require(vioplot) vioplot(values) text(1,0,labels="better than box plots",col="red",pos=4)
> -----Original Message----- > From: Keith Sabol [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 20, 2005 2:46 PM > To: r-help@stat.math.ethz.ch > Subject: [R] Boxplot labels > > > I am creating boxplots from a dataframe and would like to add to the > standard output a marker representing the value from a > particular row in the > dataframe. > > .....And I apologize if the solution is as trivial as it > seems it should be. > > Thanks for any assistance. > > Keith > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html