Re: [R] Boxplot labels

From: bogdan romocea <br44114_at_gmail.com>
Date: Fri 21 Oct 2005 - 06:50:17 EST


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:sabolk@hotmail.com]
> 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 Received on Fri Oct 21 07:43:24 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 19:14:40 EST