Skip to content

Instantly share code, notes, and snippets.

@derekpowell
Created July 21, 2017 21:37
Show Gist options
  • Save derekpowell/76490b3d36643c19f575c6bf657b9d1a to your computer and use it in GitHub Desktop.
Save derekpowell/76490b3d36643c19f575c6bf657b9d1a to your computer and use it in GitHub Desktop.
R: get data for elements of ggplot() object
dfPlot <- (ggplot_build(plt))$data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment