Programming in R
Description
The ability to create, understand, and scrutinize computer code is an extremely important skill set throughout academia, but especially so in interdisciplinary work. Computer code and, more generally, computational thinking, forces us to follow standards, be precise in definitions and be explicit about what is assumed and what is exactly meant by our concepts or models. All of these aspects make it easier to exchange and link ideas, knowledge, and data across disciplines. This course aims to achieve a dual purpose: 1) teaching basic coding skills (and some general computational skills) to get concrete scientific data and modeling tasks done, and 2) enhancing creative and critical thinking skills. The coding skills concern data processing, visualization, and the implementation of (mathematical and conceptual) models in computer code. Creative and critical thinking focuses on the translation from algorithm to code, comparison of different implementations, debugging, and code documentation. In this course, we will work with the R programming language and use the RStudio development environment. Objectives: operate an integrated development environment (RStudio) to enter/edit code, run code and view output document own code troubleshoot programming problems ("bugs") systematically know and implement basic R syntax for basic mathematical calculations and data handling (type conversion, selecting, merging, aggregating, sorting) create appropriate figures to visualize data in R implement control structures for conditional branching (if-else) and iteration (for- and while-loops) in R import/export and parse basic data formats in R illustrate with an example how code enables scientific data analysis
Preview the 5 closest equivalencies already indexed in our system
5132PRIR3Y has possible credit equivalents including COMP206 at McGill University.