♣D♣Code Not Shown in the Body of the Book
In rare occasions, we did not show all code. This was done out of concern that the code would get in the way of understanding the subject discussed. However, we do not want to deprive you from this code and will reproduce it here for all the occurrences where certain code was not omitted.
In this section we introduce a simple method to visualize some aspects of the data that are helpful for deciding on how to bin the data and have used base-R. It might be useful to know that in
ggplot2
these results are equally easy to obtain and might suit better your needs. The output of this code is in Figure D.1 on page 840.
Get The Big R-Book now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.