Errata

R Graphics Cookbook

Errata for R Graphics Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 37
At the end of the second paragraph. Just before Figure 3-15.

In the references to the two sub-figures, the author cited TOP and BOTTON, but the figures are located in the LEFT and RIGHT areas of the figure.

Manuel Enciso  Aug 19, 2020  Oct 23, 2020
Printed
Page 35
First line of Section "Solution".

"... set width in geom_bar()"

Must be "... set width in geom_col()

Manuel Enciso  Aug 19, 2020  Oct 23, 2020
PDF
Page 394
last paragraph

It says "It can also handle NAs and missing combina‐ tions, with the na.rm and .drop options."

and

The function has a parameter with default value".drop = TRUE".

But the function doesn't use the parameter ".drop", so I think readers can't understand how to "handle NAs and missing combinations"

I found this when translating this book to Japanese.

Note from the Author or Editor:
The errata report is correct.
The text says, "It can handle NAs and missing combinations, with the na.rm and .drop options."
It should be replaced with, "It can handle NAs with the na.rm option."

In the definition of the summarySE function (the code block shortly after that sentence), the '.drop = TRUE' part should be removed, as well as the preceding comma.

Masato Setoyama  Aug 03, 2019  Jan 24, 2020
Printed
Page 410
4th paragraph

"A legend is another type of scale"
should be
"A legend is another type of guide"

Hershel Safer  Jan 20, 2019  Jan 25, 2018
Printed
Page 405
line 2

"the Bs are used for grouping"
should be
"the As are used for grouping"

Hershel Safer  Jan 20, 2019  Jan 25, 2018
Printed, PDF, ePub, Mobi,
Page 6
Solution for 1.6

library(foreign) should be library(haven)

Note from the Author or Editor:
Updated per author's request

Anonymous  Dec 04, 2018  Jan 08, 2019