Skip to main content
main-content
Top

About this book

While SAS and SPSS have many things in common, R is very different. My goal in writing this book is to help you translate what you know about SAS or SPSS into a working knowledge of R as quickly and easily as possible. I point out how they differ using terminology with which you are familiar, and show you which add-on packages will provide results most like those from SAS or SPSS. I provide many example programs done in SAS, SPSS, and R so that you can see how they compare topic by topic. When finished, you should be able to use R to: Read data from various types of text files and SAS/SPSS datasets. Manage your data through transformations or recodes, as well as splitting, merging and restructuring data sets. Create publication quality graphs including bar, histogram, pie, line, scatter, regression, box, error bar, and interaction plots. Perform the basic types of analyses to measure strength of association and group differences, and be able to know where to turn to cover much more complex methods.

Table of Contents

Frontmatter

Chapter 1. Introduction

Without Abstract
Robert A Muenchen

Chapter 2. The Five Main Parts of SAS and SPSS

Without Abstract
Robert A Muenchen

Chapter 3. Programming Conventions

Without Abstract
Robert A Muenchen

Chapter 4. Typographic Conventions

Without Abstract
Robert A Muenchen

Chapter 5. Installing and Updating R

Without Abstract
Robert A Muenchen

Chapter 6. Running Rrunning R running R

Without Abstract
Robert A Muenchen

Chapter 7. Help and Documentation

Without Abstract
Robert A Muenchen

Chapter 8. Programming Language Basicsprogramming syntaxprogramming syntax

Without Abstract
Robert A Muenchen

Chapter 9. Data Acquisition

Without Abstract
Robert A Muenchen

Chapter 10. Selecting Variables variables selecting – Var, Variables=

Without Abstract
Robert A Muenchen

Chapter 11. Selecting Observations – Where, If, Select If, Filter

Without Abstract
Robert A Muenchen

Chapter 12. Selecting Both Variables and Observations

Without Abstract
Robert A Muenchen

Chapter 13. Converting Data Structures

Without Abstract
Robert A Muenchen

Chapter 14. Data Management

Without Abstract
Robert A Muenchen

Chapter 15. Value Labels or Formats (and Measurement Level)

Without Abstract
Robert A Muenchen

Chapter 16. Variable Labels

Without Abstract
Robert A Muenchen

Chapter 17. Generating Data

Without Abstract
Robert A Muenchen

Chapter 18. How R Stores Data

Without Abstract
Robert A Muenchen

Chapter 19. Managing Your Files and Workspace workspace managing

Without Abstract
Robert A Muenchen

Chapter 20. Graphics Overviewgraphicsgraphics overview

Without Abstract
Robert A Muenchen

Chapter 21. Traditional Graphics graphics graphics traditional

Without Abstract
Robert A Muenchen

Chapter 22. Graphics with ggplot2 (GPL) graphics graphics Grammar of Graphics

Without Abstract
Robert A Muenchen

Chapter 23. Statistics

Without Abstract
Robert A Muenchen

Chapter 24. Conclusion

Without Abstract
Robert A Muenchen

Backmatter

Additional information

Premium Partner

    Image Credits