Offering a user friendly introduction to R software

“A terrific intro book! I'll recommend it to any class I teach in which I use R.”

—Gary McDonald, Oakland University

This text provides a practical, hands-on introduction to the elements of R and R Commander. Assuming no background in computer programming, author Thomas P. Hogan guides the novice in using these valuable tools for statistical analysis. The book walks the reader through steps for downloading and then works through examples of basic statistical processing.

Key Features

“Base R” covered including downloading, creating data sets, using R functions, and R graphics; R Commander information includes downloading, inputting data, statistical analysis, and graphing; The author shows how to import and export data or files, using add-on packages, and annotated references for further skill development.; The book is suitable as a supplement to any standard introduction to statistics or for the person in the social and behavioral sciences, education, and allied health fields who wants a quick start on R

Accompanied by a Student Study Site

An upcoming student study site at contains downloadable data sets used in the text as well as selected updates for R.

Some Other Stuff

3-1 A Few Other Ways to Enter Data

R has a plethora of ways to read data. In fact, it has an entire manual just on this topic (see Section 3–6). We introduced a few of the methods earlier. Here, for the especially ambitious, we'll add two more ways.

From Word

First, perhaps somewhat surprisingly, you can create a data set in Microsoft Word (or just about any other word processing system) and read it into R. There are just a few simple rules for doing so. Let's have these three variables for five cases. The variables are Age, Pop (a popularity rating on a 1–9 scale), and Looks (a good-looking rating on a 1–99 scale). Here are the data:


Open a new Word document page. ...

  • Loading...
locked icon

Sign in to access this content

Get a 30 day FREE TRIAL

  • Watch videos from a variety of sources bringing classroom topics to life
  • Read modern, diverse business cases
  • Explore hundreds of books and reference titles