Skip to content
Prev 10502 / 398502 Next

Is this a bug with a simple arithmetic operation with a vector object?

On Sun, 1 Apr 2001, hzi wrote:

            
(the answer should have been: [1] 11, 13, 15, 104, 0, 0)

Why?  Everitt's book is extremely badly typeset, and `< -'  is in fact `<-'
not `<- -' as you have entered.  But the laws of arithmetic say R was right.
Why `mind you'?  A phrase involving `workmen' and `tools' springs to mind.
Find a more reliable (and less outdated) guide ....