## R for SAS and SPSS UsersR is a powerful and free software system for data analysis and graphics, with over 5,000 add-on packages available. This book introduces R using SAS and SPSS terms with which you are already familiar. It demonstrates which of the add-on packages are most like SAS and SPSS and compares them to R's built-in functions. It steps through over 30 programs written in all three packages, comparing and contrasting the packages' differing approaches. The programs and practice datasets are available for download. The glossary defines over 50 R terms using SAS/SPSS jargon and again using R jargon. The table of contents and the index allow you to find equivalent R functions by looking up both SAS statements and SPSS commands. When finished, you will be able to import data, manage and transform it, create publication quality graphics, and perform basic statistical analyses. This new edition has updated programming, an expanded index, and even more statistical methods covered in over 25 new sections. |

### What people are saying - Write a review

### Contents

1 | |

11 | |

3 Running R | 21 |

4 Help and Documentation | 53 |

5 Programming Language Basics | 61 |

6 Data Acquisition | 115 |

7 Selecting Variables | 161 |

8 Selecting Observations | 187 |

12 Generating Data | 400 |

13 Managing Your Files and Workspace | 417 |

14 Graphics Overview | 441 |

15 Traditional Graphics | 451 |

16 Graphics with ggplot2 | 521 |

17 Statistics | 599 |

18 Conclusion | 646 |

663 | |