Introduction to R

Last modified: 2024-04-26

Preface

Who are this notes for?

This notes are a intended for anyone that wants to use R but has little or no experience using it, and little or no experience in programming.

Creation of this document

These notes are published using Quarto. You can find the source code for these notes at https://github.com/CSCAR/workshop-r-intro.

You can switch between light and dark modes using the switch in the top left corner of the screen. Images are color-reversed in dark mode to reduce brightness. Move your mouse over an image (or press it if you are on a mobile device) to show it in its original colors. All images link to full-size versions that can show more detail.

Contact information

CSCAR

http://cscar.research.umich.edu/

Consulting for Statistics, Computing and Analytics Research (CSCAR) is a unit of the Office of the Vice President of Research at the University of Michigan. CSCAR offers U-M researchers guidance and training in data collection, management, and analysis; and in the use of technical software and advanced computing in research.

We offer free, one-hour consultations with graduate-level statisticians. To request an appointment, you can send an email to , or you can fill this form. You can also walk-in for a consultation with one of our Graduate Student Research Assistants (GSRAs). Or you can use this link to self-schedule an appointment with a GSRA at your own convenience. GSRAs are available Monday through Friday, between 9am and 5pm (we close on Tuesdays between noon and 1pm). All of our scheduled appointments can be either remote or in-person.

CSCAR can also help with simple statistical questions through email. You can write to .

If you have any questions or comments about these notes, you can contact Abner Heredia Bustos ().

Acknowledgments

These notes have evolved over the years thanks to Abner Heredia Bustos, Xiru Lyu, and Chris Andrews.

This material was created for use in workshops and short courses presented by faculty and staff from the Consulting for Statistics, Computing & Analytics Research (CSCAR) unit at the University of Michigan.