[R] plot(x,y) with errors

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Mar 3 11:13:37 CET 2004


Fulvio Copex wrote:

> Dear all,
> I have 2 variables,
> x<-c(1,2,3,4,5,6,7,8,9,10)
> y<-c(1.3,2.5,4.6,5.3,5.9,6.7,7.4,8.5,9.4,10.4)
> each point of the y variable has an error:
> erry<-(0.2,0.3,0.2,0.1,0.4,0.2,0.3,0.4,0.3,0.2)
> how to plot(x,y) with the errors segments?
> Thank you,
> Copex 


See ?segments.
Are the errors intended to be mean-centered ???

Uwe Ligges




> 
> 
> 
> ---------------------------------
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list