Source code for R in Action, Second Edition
R
Latest commit ea9c0b3 Oct 23, 2015 unknown lmPerm packages
Permalink
Failed to load latest commit information.
Ch21 nparFiles initial commit May 8, 2015
Ch22 DynamicReports initial commit May 8, 2015
lmPerm lmPerm packages Oct 23, 2015
Ch01 Introduction to R.R initial commit May 6, 2015
Ch02 Creating a dataset.R initial commit May 6, 2015
Ch03 Getting started with graphs.R corrections to chapter 3 code Jun 26, 2015
Ch04 Basic data management.R initial commit May 6, 2015
Ch05 Advanced data management.R initial commit May 6, 2015
Ch06 Basic Graphs.R initial commit May 6, 2015
Ch07 Basic statistics.R initial commit May 6, 2015
Ch08 Regression.R initial commit May 7, 2015
Ch09 Analysis of Variance.R initial commit May 7, 2015
Ch10 Power analysis.R initial commit May 6, 2015
Ch11 Intermediate graphs.R initial commit May 6, 2015
Ch12 Resampling statistics and bootstrapping.R initial commit May 6, 2015
Ch13 Generalized linear models.R initial commit May 6, 2015
Ch14 Principal components and factor analysis.R initial commit May 6, 2015
Ch15 Time series.R initial commit May 6, 2015
Ch16 Cluster analysis.R initial commit May 6, 2015
Ch17 Classification.R initial commit May 7, 2015
Ch18 Advanced methods for missing data.R initial commit May 6, 2015
Ch19 Advanced graphics with ggplot2.R initial commit May 6, 2015
Ch20 Advanced R programming.R initial commit May 7, 2015
Ch21 Creating a package.R initial commit May 7, 2015
Ch22 Creating dynamic Reports.R initial commit May 7, 2015
Ch23 Bonus - Advanced graphics with the lattice package.R initial commit May 8, 2015
README.md Add an Errata Jun 26, 2015
R_in_Action_2nd_Edition-Errata.pdf updated Errata Jul 13, 2015

README.md

R in Action

Source code for R in Action 2nd Edition 2015 - Copyright: Manning Publications. All rights reserved.

This directory contains the source code for chapters 1 through 22 and the bonus chapter.

Although I've tried to limit the errors appearing in the book, some have crept in and are listed in the Errata.

Many chapters require the installation of contributed packages. These are indicated in the header of the corresponding code file. For example, the code in chapter 3 requires that you have the Hmisc package installed. If you don't have this package installed, execute the command install.packages("Hmisc") while connected to the internet.

You will also find that packages may be loaded more than once in a file. For example, in the chapter 6 code file, the statement "library(vcd)" is repeated several times. It is actually only needed once. However, placing it in several places allows you run a portion of the file's code without having to run all the code from the beginning.

I hope you find this code helpful and welcome your feedback.

-Rob Kabacoff, Ph.D. robk@statmethods.net