[R] Integration in R
David Winsemius
dwinsemius at comcast.net
Tue Jan 8 22:36:13 CET 2013
On Jan 8, 2013, at 1:31 PM, David Winsemius wrote:
>
> On Jan 8, 2013, at 1:07 PM, Berend Hasselman wrote:
>
>>
>> On 08-01-2013, at 22:00, Berend Hasselman <bhh at xs4all.nl> wrote:
>>
>>> …...
>>> David implemented the condition by multiplying by x[1]<x[2] which
>>> in a numeric context is 0 when x[1]<x[2] en 1 when x[1]>=x[2].
>>
>> OOPS!! Reverse the 0 and the 1 in that sentence (TRUE becomes 1 and
>> FALSE becomes 0)
>
> I didn't worry about which direction was used for the inequality in
> this case because of consideration of symmetry. (Thinking about it
> now, I still think I managed to choose the correct direction.)
> Obviously such a cavalier attitude should not be carried over to the
> general situation.
I hit the send button by mistake. (I originally misread Berend's
correction.) I'm only posting this to make clear that it was myself,
and not Berend, that I was accusing of having been cavalier.
--
David Winsemius, MD
Alameda, CA, USA
More information about the R-help
mailing list