R Error Creating Facets In Ggplot2 Based Plotting Function Stack

R Error Creating Facets In Ggplot2 Based Plotting Function Stack