4 hours of instruction
This course familiarizes learners with key concepts in programming essential for writing code in base R. After loading a dataset into their environment, learners will create variables to represent values that change according to specific conditions. Learners will also construct conditional statements, loops, and functions to practice iterating over these variables with the basic building blocks of a simple program.
OBJECTIVES
- Discuss control flow structures and practice of writing of modular code
- Implement for loops and functions
- Create simple programs in R
PREREQUISITES
Learners should be comfortable performing basic operations on different data types in R.
SYLLABUS & TOPICS COVERED
- Load Data And Environment
- Load data into R
- Manipulate variables within R environment
- Control Flow And Functions
- Controlling the flow of a program
- Conditionals, loops, and functions
SOFTWARE REQUIREMENTS
You will have access to an R-based Posit Cloud environment for this course. No additional download or installation is required.