Skip to main content
Apress

R 4 Quick Syntax Reference

A Pocket Guide to the Language, API's and Library

  • Book
  • © 2022
  • Latest edition

Overview

  • Updated to cover latest R 4.x features
  • Learn R to write your own functions and analyze data
  • Source code can be downloaded from https://github.com/Apress/r4-quick-syntax-reference
  • 16k Accesses

  • 6 Citations

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook EUR 17.99 EUR 46.99
Discount applied Price includes VAT (Netherlands)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book EUR 59.94
Price includes VAT (Netherlands)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

About this book

This handy reference book detailing the intricacies of R covers version 4.x features, including numerous and significant changes to syntax, strings, reference counting, grid units, and more.



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. Some of the new material includes information on RStudio, S4 syntax, working with character strings, and an example using the Twitter API.

With a copy of the R 4 Quick Syntax Reference in hand, you will find that you are able to use the multitude of functions available in R and are even able to write your own functions to explore and analyze data.


What You Will Learn
  • Discover the modes and classes of R objects and how to use them
  • Use both packaged and user-created functions in R 
  • Import/export data and create new data objects in R
  • Create descriptive functions and manipulate objects in R
  • Take advantage of flow control and conditional statements
  • Work with packages such as base, stats, and graphics

Who This Book Is For


Those with programming experience, either new to R, or those with at least some exposure to R but who are new to the latest version.

Similar content being viewed by others

Table of contents (17 chapters)

  1. R Basics

  2. Kinds of Objects

  3. Functions

  4. I/O and Manipulating Objects

  5. Flow Control

Authors and Affiliations

  • Vanward Statistics, PO Box 286, 612 Teneyck Avenue, Stratford, IA, 50249-0286, USA

    Margot Tollefson

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.

Accessibility Information

Accessibility information for this book is coming soon. We're working to make it available as quickly as possible. Thank you for your patience.

Bibliographic Information

Keywords

Publish with us