[R] Vector indices and minus sign

Thomas Lumley tlumley at u.washington.edu
Fri Nov 14 16:26:00 CET 2003

On Fri, 14 Nov 2003, David Orme wrote:

> Hi,
> I got caught out by this behaviour in 1.8.0 and I wondered why this
> happens:

Some anomaly of this sort is unavoidable because R allows positive or
negative numeric indices. It can't distinguish between a vector of no
positive numbers and a vector of no negative numbers.


More information about the R-help mailing list