<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. ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
