Lab 1: Introduction to R
This module contains a PowerPoint file, some R code, and a data fle.
PowerPoint
Stuff that's covered: R and R studio. Data structures. Program editor. Importing data. Installing and loading Packages. Basic plots (histogram and scatterplot).
PowerPoint slides.
R code
My university won't let me post many file types, including those with the .r extension. So I will send you to an external server (Github) where you can download the R code.
R code for lab 1 (download the file Lab 1).
Example Data
Comma delimited or .csv file that can be read by R and by Excel and that is used by the above R code and/or PowerPoint slideshow.