get_plot_data | R Documentation |
extract data from a 'gg' plot
get_plot_data(plot, var = NULL, layer = NULL)
plot |
a 'gg' plot object |
var |
variables to be extracted |
layer |
specific layer to extract the data |
a data frame of selected variables
Guangchuang Yu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.