Errata are corrected as found and incorporated into newly printed copies of the book. This means that not all the errata listed below exist in your copy of the book. If you see any errors not listed below, please let me know.
throughout: A change to the ggplot2
package means that xint
and yint
are no longer accepted abbreviations. These
are now replaced with xintercept
and yintercept
.
cos(2*x*pi)
. Also sd=1
is the default so not needed.simex(lmod,"speed",sqrt(0.5), B=1000)
which gives an estimate of 3.99ggplot2
means that p+coord_flip()+xlab("Predictor")+geom_vline(xintercept=0,col=gray(0.75))
is now needed.stack.loss
is the responsegalamiss
dataset is missing from the package. Here is the rda data file which you can load into R using load("galamiss.rda")
> abline(3.696, 0.764)
> abline(3.696+6.861, 0.764-0.314,lty=2)