R functions for simulation, sampling & visualization
In my previous article about simulating page speed data, I broke one of the cardinal rules in programming: don’t repeat yourself. There was a reason for this: I wanted to show what is going on under the hood and the theoretical concepts associated with them before using other functions in R. For this follow-up, I’ll highlight a few #rstats shortcuts that will make your life easier when generating and exploring simulated data. Background We’ll use the same dataset from last time with Best Buy and Home Depot as our initial test subjects. ...