[R] Using known errors and error bars

Sebastian Schubert Sebastian-Schubert at gmx.de
Sun May 9 17:24:23 CEST 2004


Hi, 
 
I'm now to R and hope (actually, I'm quite sure) you can help me. I made 
an experiment and measured two values. As I know the errors of these 
values I want to use them with the linear regression, 
eg 
Value A 
1.1+-0.02 
1.9+-0.05 
3.05+-0.03 
4.0+-0.01 
5.1+-0.06 
 
Value B 
4.2+-0.14 
5.3+-0.05 
6.8+-0.11 
7.9+-0.01 
8.5+-0.02 
 
lm(B~A) does the linear regression but how can I use the fact that 1.1 is 
between 1.12 and 1.08? 
How can I put error bars for A and B in the plot (like Excel is capable 
of)? 
 
I hope I made myself understandable, 
thanks 
Sebastian 

--




More information about the R-help mailing list