Week 7
Introduction
This week will get you oriented for working with factor variables in R which can be useful for linear modeling (to come next week). Then the week will also explore how to manipulate character vectors to extract information you may want. As part of this, special functionality for extracting dates will be explored.
Objectives
After completing this module, students will be able to:
- Identify character and factor data attributes
- Manipulate factor data attributes
- Manipulate character vectors
- Extract dates using the lubridate package
Activities
Weekly Videos
- Intro to Factors
- Factor Manipulations
- Rename Factor Levels
- Basic Character String Tasks
- Introduction to Regular Expressions
- Regular Expression Functions
- Real-world Examples - working with dates
R Syntax
Assignments
To come …