I had to include `stringsAsFactors = TRUE` in the call to `data.frame()` on line 33 to get the plot function on line 44 to work.
I had to include
stringsAsFactors = TRUEin the call todata.frame()on line 33 to get the plot function on line 44 to work.