Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread PIKAL Petr
Hi > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of liang@us.pwc.com > Sent: Tuesday, October 09, 2012 2:50 AM > To: r-help@r-project.org > Subject: Re: [R] How to use Lines function to draw the error ba

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread David Winsemius
> > thanks > > > - Forwarded by Liang Che/US/TLS/PwC on 10/08/2012 08:48 PM - > > From: Liang Che/US/TLS/PwC > To: Joseph Clark @INTL > Cc: r-help@r-project.org > Date: 10/08/2012 08:44 PM > Subject: RE: [R] How to use Lines function to draw the error bars?

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread liang . che
-project.org Date: 10/08/2012 08:44 PM Subject:RE: [R] How to use Lines function to draw the error bars? thank you all for your answers i have figured out the plot i wanted - it was actually pretty easy lines(x=20:34,prd[,1],col="red",Ity=1) lines(x=20:34,prd[,2],lty=2) lines(x=20

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread liang . che
08/2012 05:30 PM Subject: RE: [R] How to use Lines function to draw the error bars? I don't have any experience with "predict", but if it returns a data frame, just capture that data frame and refer to the columns as vectors. mydata <- predict(...) plotCI( 1:nrow(myda

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread Joseph Clark
. clark , visiting research associate \\ university of nebraska at omaha - school of IS&T To: joeclar...@hotmail.com CC: r-help@r-project.org Subject: RE: [R] How to use Lines function to draw the error bars? From: liang@us.pwc.com Date: Mon, 8 Oct 2012 17:16:12 -0400 Thanks since t

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread David L Carlson
8, 2012 4:16 PM > To: joeclar...@hotmail.com > Cc: r-help@r-project.org > Subject: Re: [R] How to use Lines function to draw the error bars? > > Thanks > > since the 'lwr' and 'upr' are produced from the 'predict' function, do > I > need to convert t

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread liang . che
- x : the condition has length > 1 and only the first element will be used From: Joseph Clark To: Liang Che/US/TLS/PwC@Americas-US Cc: Date: 10/08/2012 05:06 PM Subject:RE: [R] How to use Lines function to draw the error bars? In my example code, 'fit'

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread Joseph Clark
ting research associate \\ university of nebraska at omaha - school of IS&T To: joeclar...@hotmail.com CC: r-help@r-project.org Subject: RE: [R] How to use Lines function to draw the error bars? From: liang@us.pwc.com Date: Mon, 8 Oct 2012 17:00:56 -0400 thank you all plotCI is probably th

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread liang . che
From: Joseph Clark To: Liang Che/US/TLS/PwC@Americas-US, Date: 10/08/2012 04:03 PM Subject: RE: [R] How to use Lines function to draw the error bars? I typically use the function "plotCI" from the "plotrix" package for confidence intervals or error bars

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread Joseph Clark
f IS&T > To: r-help@r-project.org > From: liang@us.pwc.com > Date: Mon, 8 Oct 2012 15:11:53 -0400 > Subject: [R] How to use Lines function to draw the error bars? > > fit lwrupr > 1 218.4332 90.51019 346.3561 > 2 218.3906 90.46

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread Rui Barradas
Hello, Do you want to use the lines function or do you want to draw error bars? The two are not the same, error bars are usualy drawn with function arrows(). The trick is in argument 'angle', set it to 90 degreesand have square arrow heads. dat <- read.table(text=" fit lwr

Re: [R] How to use Lines function to draw the error bars?

2012-10-08 Thread liang . che
Thanks -- I got this message: Error in stripchart.default(x1, ...) : invalid plotting method From: Bita Shams To: Liang Che/US/TLS/PwC@Americas-US Date: 10/08/2012 03:41 PM Subject:Re: [R] How to use Lines function to draw the error bars? try this : plot(new,prd[,3

[R] How to use Lines function to draw the error bars?

2012-10-08 Thread liang . che
fit lwrupr 1 218.4332 90.51019 346.3561 2 218.3906 90.46133 346.3198 3 218.3906 90.46133 346.3198 4 161.3982 44.85702 277.9394 5 192.4450 68.39903 316.4909 6 179.8056 56.49540 303.1158 7 219.5406 91.52707 347.5542 8 162.6761 46.65760 278.6945 9 193.8506 70.59