O'Reilly logo

Data Analysis with R - Second Edition by Tony Fischetti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."

A block of code is set as follows:

# don't worry about memorizing this temp.density <- density(airquality$Temp) 
pdf <- approxfun(temp.density$x, temp.density$y, rule=2) 
integrate(pdf, 80, 90)

When we wish to draw your attention to a particular part of a code block or output, the relevant lines or items are set in bold:

table(mtcars$carb) / length(mtcars$carb) 
   
 1 2 3 4 6 8 0.21875 0.31250 0.09375 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required