R Quick Syntax Reference

  • 3h 9m
  • Margot Tollefson
  • Apress
  • 2014

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.

About the Author

Margot Tollefson is a self-employed consulting statistician residing in the tiny town of Stratford in the corn and soybean fields of north-central Iowa.She started using the S-Plus language in the early 1990s and was happy to switch to R about ten years ago. Margot enjoys writing her own functions in R - to do plots and simulations, as well as to implement custom modeling and use published statistical methods. She earned her graduate degrees in statistics from Iowa State University in Ames, Iowa.

In this Book

  • Downloading R and Setting Up a File System
  • The R Prompt
  • Assignments and Operators
  • Modes of Objects
  • Classes of Objects
  • Packaged Functions
  • User-Created Functions
  • How to Use a Function
  • Importing and Creating Data
  • Exporting from R
  • Descriptive Functions and Manipulating Objects
  • Flow Control
  • Examples of Flow Control
  • The Functions ifelse() and switch()
  • Some Common Functions
  • The Packages Base, Stats, and Graphics
  • Tricks of the Trade
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.3 of 32 users Rating 4.3 of 32 users (32)
Rating 4.5 of 15 users Rating 4.5 of 15 users (15)
Rating 4.4 of 176 users Rating 4.4 of 176 users (176)