Skip to content

Category: R-Code

Automating Graphs

From time to time I write R code for colleagues whose data analysis skills are stronger than their coding skills. Often this involves graphing or data manipulation code. One afternoon, my colleague called to ask about modifying a previous set of graphing code I had created months earlier. An easy change, I had it updated in no time. As we hung up the phone, he commented, “This is great! Now I’m going to go and run this code 100 times.” When pushed, he told me he wanted the same graph for each column in his data set, 100 columns in…

Continue reading Automating Graphs