From ggrothendieck at myway.com  Tue Aug  3 20:10:34 2004
From: ggrothendieck at myway.com (Gabor Grothendieck)
Date: Tue Aug  3 20:10:44 2004
Subject: [Rd] (PR#7152) Ops.ts returns non-ts object for
	=?utf-8?b?dW5pdmFyaWF0ZQlvcGVyYXRpb25z?=
References: <20040803174830.27B8C1167A@slim.kubism.ku.dk>
Message-ID: <loom.20040803T200242-19@post.gmane.org>

 <jpalmucci <at> machineinsight.com> writes:

: However, I was expecting !x to return a time series, just like the 
: binary logical operators do.
: 
: For example:
: 
:  > b <- ts(1:10) > 5
: 
:  > b | !lag(b)
: Time Series:
: Start = 1
: End = 10
: Frequency = 1
:  [1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE

As a workaround you could use the fact that xor(b, TRUE) negates b yet 
remains a ts object.


[Rd] (PR#7152) Ops.ts returns non-ts object for =?utf-8?b?dW5pdmFyaWF0ZQlvcGVyYXRpb25z?=
Gabor Grothendieck