R Tutorials
Basic Tutorials
This section is for tutorials that focus on introductory topics using R. In most cases, I wanted to do something and couldn’t figure out how and by scouring online I eventually found it and I hope to be able to replicate that for someone!
Basic Operations
Learn how to install and use R, create data objects, and perform basic math.
Descriptive Statistics
Work with functions like mean(), median(), and range() to summarize data.
String Manipulation
Use stringr and regex to extract and format text effectively.
Plotting with ggplot2
Visualize data using the powerful and flexible ggplot2 package.
In-Depth Tutorials
This section focuses on moving beyond the basics — working primarily within the tidyverse ecosystem to create cleaner, more reproducible, and visually engaging analyses.
Visualizations: stringr
Explore how to generate and analyze text-based datasets using the stringr::words and stringr::sentences data. You’ll create new variables, summarize patterns, and visualize results using dplyr and ggplot2.
Visualizations: babynames
Discover naming trends using the babynames dataset. Learn how to combine dplyr and stringr to explore unique name patterns, and enhance your plots with layered elements in ggplot2 for clarity and style.
Visualizations: TV Show Ratings
Learn how to scrape data from the web using rvest::read_html() and transform it into a structured dataset. Visualize TV episode ratings as a heatmap with geom_tile(), highlighting trends across seasons.