R-Guru.com Cheat Sheet for Statistical Programmers

Interested in publishing a one-time post on R-bloggers.com? Press here to learn how.


This R-Guru cheat sheet is ideal for Statistical Programmers since it contains best practice examples for creating and updating tibbles in the pharma industry. Examples show common R tasks for importing data, creating data frames, direct variable referencing, piping, conditional and group processing, sql components, character and date operations, variable type conversions, transposing data frames, joining data frames, appending data frames, deriving summary variables, and creating graphs and output files. When possible, base R sample data frames are used in examples.

Published by

Sunil Gupta

Sunil Gupta, MS, is an international speaker, best-selling author of five SAS books, and a global SAS Developer and CDISC SME and corporate trainer. Sunil is an advocate of CDISC automation and standardization with over twenty-five years of experience in the pharmaceutical industry. Most recently, Sunil is teaching Practical R for SAS Programmers, a CDISC online class at the University of California at San Diego and classes on Data Science using SAS at UCLA and UCSD Extension. In 2019, Sunil published his fifth book, Clinical Data Quality Checks for CDISC Compliance Using SAS and in 2011, Sunil launched his unique SAS mentoring blog, SASSavvy.com, for smarter SAS searches and R-Guru.com for R Programming. Sunil has MS in Bioengineering from Clemson University and a BS in Applied Mathematics from the College of Charleston.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.