Re: [R] saving only part of a computation in integrate

2009-07-30 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Mary A. Marion > Sent: Thursday, July 30, 2009 12:56 PM > To: r-help@r-project.org > Subject: [R] saving only part of a computation in integrate > > Hello

Re: [R] saving only part of a computation in integrate

2009-07-30 Thread Erik Iverson
;integrate" > Beta$value [1] 0.9907436 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Mary A. Marion Sent: Thursday, July 30, 2009 2:56 PM To: r-help@r-project.org Subject: [R] saving only part of a computation in integrate Hello

[R] saving only part of a computation in integrate

2009-07-30 Thread Mary A. Marion
Hello, I am using Beta <-integrate(dnorm,mean=0,sd=1,-Inf,2.3552) > Beta 0.9907436 with absolute error < 4.2e-06 1-Beta results in an error How can I store into Beta only .9907436? Thank you. Sincerely, Mary A. Marion __ R-help@r-project.org mailing