Re: [R] hello! i need help for a specific graphic issue

From: bartjoosen <bartjoosen_at_hotmail.com>
Date: Wed, 12 Mar 2008 07:15:08 -0700 (PDT)

quick (and dirty) solution:

y.up<- means+stand.error
y.dwn<- means-stand.error

plot(means,ylim=c(3.5,10))
for (i in 1:length(means)) arrows(i,means[i],i,y.up[i],length=0.1)
for (i in 1:length(means)) arrows(i,means[i],i,y.dwn[i],length=0.1)




Giacomo Prodi wrote:
>
> hello, ladyes and gentlemans.
>
> check this:
>
> means<-c(4,6,8)
> stand.error<-c(0.1,0.3,0.5)
>
> now i've strongly tryed to scatterplot the
> means(y-axis),by showing their sd with the
> arrow(..,code=3,angle=90) function.
> The problem is that my x-axis has categorical values
> (say, factor(x)), and the arrows() can't recognize
> them as right coordinates.
> ?????
> thank you all in advance
> B.F. insubria university (varese)
>
>
>
> La web mail più usata al mondo.
> http://it.docs.yahoo.com/mail/overview/index.html
>
> ______________________________________________
> 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.
>
>

-- 
View this message in context: http://www.nabble.com/hello%21-i-need-help-for-a-specific-graphic-issue-tp16002183p16002532.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.
Received on Wed 12 Mar 2008 - 14:35:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Mar 2008 - 15:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive