- 1 Introduction to R & Environment Setup The 'Why': R for Data Science and StatisticsSetting up the Environment: Installing R and RStudioNavigating RStudio: Console, Scripts, and EnvironmentsYour First R Script: Hello World & Basic Math
- 2 R Fundamentals: Variables & Core Data Types Variables and Assignment: Mastering the '<-' OperatorBasic Data Types: Numeric, Character, and LogicalVectors: The Fundamental Building Block of RVectorized Operations: Doing Math Without Loops
- 3 Data Structures: Organizing Your Data Matrices and Arrays: Handling 2D and Multi-dimensional DataLists: Creating Flexible, Heterogeneous CollectionsFactors: Managing Categorical Data and LevelsData Frames: The Ultimate Spreadsheet Structure in R
- 4 Control Flow: Making Decisions in Code Conditional Logic: if, else, and the vectorized ifelseFor Loops: Iterating Over Sequences and CollectionsWhile Loops: Iterating Based on ConditionsLoop Control: Using break and next
- 5 Functions: Reusable Code Blocks Using Built-in Functions and the Help System (?)Writing Your First Custom FunctionArguments, Default Values, and the Return StatementUnderstanding Variable Scope and Environments
- 6 Data Import and Export: Moving Data In and Out Reading Flat Files: CSVs and TXTs (read.csv / readr)Importing Excel Spreadsheets with readxlFetching Web Data: APIs and JSON filesExporting Data: Saving Results to Your Drive
- 7 Data Manipulation with dplyr (The Tidyverse) Embracing the Pipe: Stringing Commands Together (%>%, |>)Subsetting Data: Using filter() and select()Creating and Modifying Columns with mutate()Aggregation: group_by() and summarize() +1
- 8 Data Tidying with tidyr The Tidy Data Concept: Long vs. Wide FormatsReshaping Data: pivot_longer() and pivot_wider()Splitting and Combining Columns: separate() and unite()Handling Missing Data: drop_na(), replace_na(), and fill()
- 9 Data Visualization with ggplot2 The Grammar of Graphics: Understanding the ggplot CanvasBasic Geometries: Scatter Plots, Lines, and BarsMapping Aesthetics: Colors, Shapes, and SizesCustomization: Themes, Labels, and Legends +1
- 10 Exploratory Data Analysis (EDA) & Basic Statistics Summary Statistics: Mean, Median, Variance, and QuantilesUnderstanding Relationships: Correlation and CovarianceBasic Hypothesis Testing: T-tests and ANOVABuilding a Complete EDA Workflow
- 11 String Manipulation with stringr Basic String Operations: Length, Concatenation, and CaseIntroduction to Regular Expressions (Regex) in RPattern Matching: Detecting and Extracting SubstringsString Modification: Replacing and Removing Patterns
- 12 Working with Dates and Times (lubridate) Parsing Strings into Dates and POSIXct ObjectsExtracting Components: Year, Month, Day, and HourTime Math: Working with Periods and DurationsHandling Time Zones Effectively
- 13 Functional Programming with purrr Beyond For-Loops: Introduction to the map() FamilyType-Specific Mapping: map_dbl(), map_chr(), map_df()Mapping Over Multiple Inputs with map2() and pmap()Safe Iteration: Handling Errors with safely() and possibly()
- 14 Predictive Modeling Basics (tidymodels) The tidymodels Ecosystem: A Modern Approach to ML in RData Splitting: Training vs. Testing SetsCreating Recipes for Data PreprocessingFitting a Model: Linear and Logistic Regression +1
- 15 Reporting and Communication Introduction to R Markdown and QuartoWeaving Text and Code: Chunk Options and Inline RRendering Documents: Exporting to HTML, PDF, and WordA Taste of Interactivity: Introduction to Shiny