-
Notifications
You must be signed in to change notification settings - Fork 62
Introduction to R for Data Analysis
The scripting language R is considered one of the most powerful languages for quantitative analysis, statistics, and graphics. This workshop will help you get started using R to analyze your datasets and create graphs for visualization. You'll do hands-on exercises to demystify data analysis using R. This workshop is designed for those who have no background whatsoever in programming/R.
Part 1: The R language and RStudio
- What is R and why should you use it?
- The RStudio interface
- Troubleshooting error messages
- Variables
- Types & data structures
- Math and logic operations
- Functions and packages
- Reading data into R
Part 2: Hands-on Data Analysis in R
- Filtering and reformatting data
- Exploring data (Basic summaries such as mean, median, etc.)
- Plotting data
- R markdown report generation
No background in statistics or computing is necessary. Bring your laptop with RStudio and R installed.
This is an introductory workshop in the R Scripting series. No prior experience with programming or R/RStudio is required for this course. No prerequisites. Absolute beginners are especially welcome!
Click here to download the workshop materials.
Before the workshop, complete lesson 0 to install R, RStudio, and the required packages. Please email the instructor if you have any questions or issues.
You can access these materials remotely at any time and go through them at your own pace. Here's how:
-
UCSF library provides an excellent Intro to R module in its Collaborative Learning Environment. It has an instructional video to get started with RStudio, descriptive text, and exercises for practice. All of it is available in a user-friendly online environment. We highly recommend checking this out!
-
Software carpentry provides well-organized content to get started with R. See here. Absolute beginners may want to focus on modules 1-11 and go through them in two or three sessions.
-
A searchable list of RStudio webinars and conference talks
-
Free online books:
Beginner:
Hands-on programming with R
Intro to R
Intermediate:
R for Data Science
ggplot2: elegant graphics for data analysis
R Markdown: The Definitive Guide
Advanced:
Advanced R