Introduction to Programming with R

BCH 2024H

In this course students will be instructed in how to program with R. Ultimately students will learn how to use R to analyze, process and visualize data. This course is designed for students with little to no experience in programming.

Students taking this course will not only receive 0.25 Credits but also 18 SciNet credits (9 scientific computing; 9 data science) – after 32 SciNet credits students will obtain certificate from SciNet.

Week #1-2:
– Intro to programming, different languages and approaches.
– Introduction to R, IDEs and R standard console.
– R data types: basic types, container types – list and data frames.

Week #3-4:
– Vectors, slicing and data frames.
– Reading/importing your own data, NA, …

Week #5-6:
– Programming basic blocks: conditionals, loops and reusability.
– Functions, Scripts and Libraries.

Week #7-8:
– Local and global variables.
– Coding Best Practices: defensive programming, modularity, testing, …

Week #9-10:
– Plotting basics
– Computational Stats – a sampler

Week #11-12:
– File IO and performance.
– Object oriented programming – a teaser

For more information, see the course details on the SciNet website.

 

**THIS COURSE WILL BE ONLINE ONLY**

SIGN UP: Please click HERE  to request this course

**THIS COURSE WILL BE ONLINE ONLY**

Add date – Deadline to submit request – November 13, 2020
Drop date – Students have until the day before the first class to drop the course.  Students can only drop the course after the first class with the permission of the instructor.

Course Next Offered

February to May 2021

Course Time and Location

Online
February 22
March 1,8,15, and 22
April 5, 12, 19 and 26
May 3, 10 and 17

Prerequisites

None.

Enrollment Limit

Yes — 15

Method of Student Evaluation

Graded assignments - 100%

Instructor: Marcelo Ponce Castro (SciNet)

Last Updated 10 November 2020