On 2011-06-17 06:24, anna Harris wrote:> Hi,
>
> Does anyone know how i get rid of the marker point in my error bars? The
> bars default function (it seems) is to have a dot in the middle of the bar,
> however i don't want it there.
>
> I am using Hmis to draw my errorbars and code is
>
> a<-as.vector(tapply(Sporangia,list(Host,Isolate),mean))
> b<-as.vector(tapply(Sporangia,list(Host,Isolate),sd))
> c<-sqrt(b/36)
>
>
errbar(c(1.5,2.5,3.5,5.5,6.5,7.5),(tapply(Sporangia,list(Host,Isolate),mean)),a+c,a-c,add=T)
(You need to learn to provide *reproducible* code; it will
enhance your chance of obtaining help.)
Try setting the 'pch' parameter to NA or to "".
Peter Ehlers
>
> Cheers
>
> Anna
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.