Description Usage Arguments Value
Reverse plot
1 2 | convert_to_code(p, ggplot_data_name = "ggplot_data_name",
layer_data_names = NULL)
|
p |
ggplot2 plot object |
ggplot_data_name |
name of primary data source. An attempt is made to
find the actual name of the data variable by comparing the data stored
in the plot object against all variables in the object's |
layer_data_names |
name of layer data sources. If a layer simply inherits
the root data source, then no name is needed. Otherwise, an attempt is made to
find the actual name of the data variable by comparing the data stored
in the plot layer against all variables in the plot's |
text to create the given plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.