CTCaliberTek

R Programming Path: From Beginner to Reproducible Reports

Install R and RStudio, then learn vectors, data frames, functions, dplyr, ggplot2, statistics, and reproducible Quarto reports.

8 lessons · about 80 minutes of reading·2 views

Log in to track your progress through this course.

Start lesson 1
  1. 1

    R for Beginners: Install R and RStudio and Run Your First Script

    Install R and RStudio, learn the console, scripts, packages, and projects, and avoid the working-directory mistakes that trip up most beginners.

    9 min read

  2. 2

    R Vectors, Data Types, Missing Values, and Indexing

    Learn how R stores data in vectors, how types are coerced, how to pick elements with positive, negative, and logical indexes, and how to handle NA correctly.

    10 min read

  3. 3

    R Data Frames: Importing, Inspecting, Subsetting, and Summarizing Data

    Create and import data frames, inspect them with str and summary, filter rows, add columns, sort, and summarize by group using base R.

    10 min read

  4. 4

    R Functions, Control Flow, and the apply Family

    Write your own R functions, use if/else and loops sensibly, prefer vectorized code, and apply functions over vectors and lists with sapply, lapply, and vapply.

    10 min read

  5. 5

    Data Wrangling in R with dplyr and tidyr

    Filter, select, mutate, group, summarize, and join data with dplyr, and reshape tables between wide and long form with tidyr.

    11 min read

  6. 6

    Data Visualization in R with ggplot2

    Build scatter plots, bar charts, histograms, and faceted charts with ggplot2's layered grammar, label them clearly, and save them for reports.

    10 min read

  7. 7

    Statistics in R: Correlation, t-tests, and Linear Regression

    Run correlation, a two-sample t-test, and a linear regression in R, read the output correctly, and understand what the results can and cannot tell you.

    11 min read

  8. 8

    Reproducible R Reports with Quarto and renv

    Combine code, results, and narrative in a Quarto document, render it to HTML or PDF, and make your analysis repeatable with set.seed and renv.

    9 min read