Marc Feldesman is correct in pointing out the error in our book.
The correction is
page 73, line 14
reads
> seq(0, 1, 0.03, length=15)
and should read
> seq(0, by=0.03, length=15)
by and length to the seq function are not mutually exclusive though, as can be
seen from the correction.
More precisely, each sequence is defined by exactly 3 (any 3) out of the 4
parameters, from, to, by, and length.
Andreas Krause
PS. The errata list is maintained online at
http://www2.active.ch/~krause.a/doc/splus-book/
Dr. Andreas Krause
Novartis Pharma AG
Biostatistics
WSJ-27.1.18
4002 Basel
Switzerland
|