The R Quick Syntax Reference is a handy reference book detailing the intricacies of the R language. Not only is R a free, open-source tool, R is powerful, flexible, and has state of the art statistical techniques available. With the many details which must be correct when using any language, however, the R Quick Syntax Reference makes using R easier.
Starting with the basic structure of R, the book takes you on a journey through the terminology used in R and the syntax required to make R work. You will find looking up the correct form for an expression quick and easy. With a copy of the R Quick Syntax Reference in hand, you will find that are able to use the multitude of functions available to the R user and are even able to write your own functions to explore and analyze data.
- Takes you through learning R, from download to statistical analysis.
- Clears the confusion around object types and how to use and convert the types.
- Tells you how to search for statistical techniques using the R help pages.
What you’ll learn
- Download R and R packages for your platform.
- Work with R within your file structure.
- Enter data from the keyboard and from external files.
- Determine and assign modes, classes, and types of objects
- Do calculations using the computational tools in R.
- Use R functions and create new functions.
Who this book is for
The R Quick Syntax Reference is for statisticians and other data analysts who are starting to use the R language. It is also for veteran R users who want a quick reference to the language. The book is an excellent choice for the busy data scientist who likes to experiment with new ways of analysis and who needs the flexibility of the data editing available in R.
Table of Contents
Part 1: R Basics
Chapter 1: Downloading R and Setting Up a File System
Chapter 2: The R Prompt
Chapter 3: Assignments and Operators
Part 2: Kinds of Objects
Chapter 4: Modes of Objects
Chapter 5: Classes of Objects
Part 3: Functions
Chapter 6: Packaged Functions
Chapter 7: User-Created Functions
Chapter 8: How to Use a Function
Part 4: Inputting and Creating Data, Outputting Data and Output, and Manipulating Objects
Chapter 9: Importing and Creating Data
Chapter 10: Exporting from R
Chapter 11: Descriptive Functions and Manipulating Objects
Part 5: Flow Control
Chapter 12: Flow Control
Chapter 13: Examples of Flow Control
Chapter 14: The Functions ifelse( ) and switch( )
Part 6: Some Common Functions, Packages, and Techniques
Chapter 15: Some Common Functions
Chapter 16: The Packages base, stats, and graphics
Chapter 17: Tricks of the Trade