g_train_layout | R Documentation |
This is determined by the facet, which returns a data frame, than when joined to the data to be plotted tells us which panel it should appear in, where that panel appears in the grid, and what scales it uses.
g_train_layout(panel, facet, data, plot_data)
panel |
the panel object to train |
facet |
the facetting specification |
data |
a list of data frames (one for each layer), and one for the plot |
plot_data |
the default data frame |
As well as the layout info, this function also adds empty lists in which to house the x and y scales.
an updated panel object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.