I\'ve been using ggplot2 for a while now, and I can\'t find a way to get formula from ggplot object. Though I can get basic info with summary
ggplot2
ggplot
summary
It's not currently possible to go from a ggplot2 object to the code that (might have) created it.