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.
“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 http://www.sagepub.com/bare-bonesR contains downloadable data sets used in the text as well as selected updates for R.
1-1 What is R?
R is a computer language with a particular orientation toward statistical uses. In its simplest form, R will operate like a calculator for you. At the next level, R has “functions” that will calculate statistics for you such as the mean and standard deviation. At the next higher level, R has “add-on packages” that are collections of routines for calculating more advanced statistics.
In this bare-bones introduction, we will try to accomplish four goals. First, we'll see how R works as a calculator. But we won't spend much time on that because it's kind of trivial. Next, we'll check out R's more common “functions,” especially for elementary statistics—which is R's most important contribution for our purposes right now. Then, we'll introduce ...