Articles by avocadomuncher22

Ggplot with moving averages

April 14, 2021 | avocadomuncher22

There is so much to learn in the world of R. One thing that I want to learn more about is working with time series data. I’ve read a lot about the tidyquant package and its uses with time series data so that was top of my list to ...
[Read more...]

Making bar plots using ggplot in R

March 29, 2021 | avocadomuncher22

Though ggplot() makes beautiful graphics, I often find myself going back to old projects to find a template for how to set up the code to make ggplot() graphs. Here I will show you how to make a barplot in ggplot. Then we will look at some variants of the ...
[Read more...]

Making beautiful maps with ggplot

March 22, 2021 | avocadomuncher22

Many people reach for ggplot for graphing but it is also a great tool for mapping. You have control to customize colors, scales, and themes from ggplot to make beautiful maps. Here we explore an example using the Berkeley climate data to map global temperatures in 1913 compared to a century ...
[Read more...]

How to make a line graph using ggplot2

March 20, 2021 | avocadomuncher22

You probably learned to make a line graph back in high school (or even middle school!). But the ggplot R package can make these graphs come to life. Let’s take a look at how to do this. First, we need interesting data. For this post, we will use this ...
[Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)