Examples

I have tried to provide many unique examples in this book, illustrating how to use different functions in R. I deliberately decided to use new and original examples, and not to rely on the data sets included with R. When I’m trying to solve a problem, I try to find examples of similar solutions. There are already good examples for many functions in the R help files. I tried to provide new examples to help users figure out how to solve their problems quickly. The examples are available from O’Reilly Media at http://oreilly.com/catalog/9780596801700.

Additionally, the example data is also available through CRAN as an R package. To install the nutshell package, type the following command on the R console:

install.packages("nutshell")

Get R in a Nutshell 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.