This lesson is being piloted (Beta version)

Instructor

  • Instructor: Tue Vu, PhD - AI/ML Research Scientist
  • Office: 332 Frances Anne Moody Hall, Southern Methodist University
  • Email: tuev@smu.edu

Workshop Description

Introduction to R programming language for data analytics using Rstudio hosted on Open OnDemand in Mane Frame M3 cluster at SMU. Workshop contents include basic understand of R, installation of additional R packages, introduction to data manipulation, introduction to visualization, and several best practices for using R. No prior knowledge of R or programming in general is required.

Prerequisites

This workshop requires basic programming, personal computer

Course Outline

Topic

Description

Setup Preparing for the course
1. Introduction to R What is R?
2. Basic of R how to do basic arithmetics
how to initialize a variable
how to get help
3. Data Structures Class of objects in R?
Data Type in R?
How many type of number in R?
Missing values
Subsetting
4. Matrices & Data Frame Vector in R
How to define matrix in R?
How to manipulate a data frame in R?
How to read text/csv file
5. Control Structure How do I use If Else structure?
How do I use For Loop structure
How do I use While Loop structure
6. Function How to write function in R?
How can I use the function from packages
7. Looping on the command line How to apply function over the list, matrix?
8. Profiling the code How to get the computed time for a chunk of code?
How to profile the R code
9. R workflow in ManeFrame How to run R in ManeFrame
Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.