Moved example plots out of the root scope and into their own function; fixed bug where epicurve referenced epi variable instead of referencing the dataframe passed to the plot method.