Using lubridate and ggplot2 to work with dates in R (CC234)

The lubridate R package has a number of tools for working with dates and the ggplot2 R package has functions to plot data along a date-based axis. In this episode, Pat uses these tools to plot the cumulative precipitation over the year to find whether this year is wetter or drier than previous years. We'll do everything within RStudio. You can find my blog post for this episode at https://www.riffomonas.org/code_club/.... #ggplot2 #dplyr #R #Rstudio #Rstats Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at https://shop.riffomonas.org/youtube to get practice problems, tips, and insights. If you're interested in taking an upcoming 3 day R workshop be sure to check out our schedule at https://riffomonas.org/workshops/ You can also find complete tutorials for learning R with the tidyverse using... Microbial ecology data: https://www.riffomonas.org/minimalR/ General data: https://www.riffomonas.org/generalR/ 0:00 Introduction 2:40 Calculating the cumulative precipitation amount for each year 6:56 Plotting cumulative precipitation 9:21 Highlighting data from 2022 12:53 Setting breaks and labels for x-axis 16:31 Adjusting the theming of the figure 17:05 Formatting y-axis 19:30 Adding smoothed line through data 21:09 Adding and formatting the title

Visualizing correlation with double y-axes using the ggplot2 R package (CC235)
▶︎

Visualizing correlation with double y-axes using the ggplot2 R package (CC235)

Using dplyr's group_by function with and without summarize (CC233)
▶︎

Using dplyr's group_by function with and without summarize (CC233)

Using adonis and betadisper from the vegan R package to compare groups (CC208)
▶︎

Using adonis and betadisper from the vegan R package to compare groups (CC208)

The magrittr and base R pipe: what's the difference? (CC241)
▶︎

The magrittr and base R pipe: what's the difference? (CC241)

Microbiome Analysis in R Using Microbiome | Bioinformatics for Beginners Mr. BioinformatiX
▶︎

Microbiome Analysis in R Using Microbiome | Bioinformatics for Beginners Mr. BioinformatiX

Dplyr Essentials (easy data manipulation in R): select, mutate, filter, group_by, summarise, & more
▶︎

Dplyr Essentials (easy data manipulation in R): select, mutate, filter, group_by, summarise, & more

Tutorial on using adonis from the vegan R package (CC081)
▶︎

Tutorial on using adonis from the vegan R package (CC081)

Unit2 - Working With Dates with lubridate in R
▶︎

Unit2 - Working With Dates with lubridate in R

Standardizing and Parsing Dates in R  using Lubridate | R for Data Analytics Series
▶︎

Standardizing and Parsing Dates in R using Lubridate | R for Data Analytics Series

Trump Preps for 80th Birthday, Threatens to Hit Iran, Knicks Historic Win & Elon Musk Trillionaire!?
▶︎

Trump Preps for 80th Birthday, Threatens to Hit Iran, Knicks Historic Win & Elon Musk Trillionaire!?

How to find the best sampling depth for rarefaction (CC202)
▶︎

How to find the best sampling depth for rarefaction (CC202)

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker
▶︎

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Stylizing the appearance of facet labels with ggplot2's facet_wrap (CC236)
▶︎

Stylizing the appearance of facet labels with ggplot2's facet_wrap (CC236)

Data visualization with R in 36 minutes
▶︎

Data visualization with R in 36 minutes

The most beautiful formula not enough people understand
▶︎

The most beautiful formula not enough people understand

Efficient R
▶︎

Efficient R

Describe and Summarise your data
▶︎

Describe and Summarise your data

Lubridate - how to manipulate date and time data in R
▶︎

Lubridate - how to manipulate date and time data in R

Integrating curve fit data to improve the interpretability of dose response visualizations (CC420)
▶︎

Integrating curve fit data to improve the interpretability of dose response visualizations (CC420)

MICROBIOME ANALYSIS IN R WITH PHYLOSEQ (QIIME) |Bioinformatics for Beginners|Bioinformatics Tutorial
▶︎

MICROBIOME ANALYSIS IN R WITH PHYLOSEQ (QIIME) |Bioinformatics for Beginners|Bioinformatics Tutorial