Tag Archives: rstats

Dynamically Changing Variables to Plot with ggplot

I recently had a large dataset where I wanted to make a series of plots with different variables on the y-axis.  I remembered that a few years ago I great frustrated that I could not do this with ggplot, so I moved on.  This time, I was successful. The key, as this Stack Overflow answer […]

Add Interaction Variables as Needed

In today’s edition of Becoming a Functional Data Analyst, I am writing to remind myself not to create interaction variables during data munging.  That is, when acquiring, cleaning, and aggregating data, I find it easier to not interact variables I will later need.  Instead, it is easier to keep variables as they are and only […]