Description Usage Arguments Value Examples
Facet ggplot2 object
1 2 3 4 5 6 7 | sp_ggplot_facet(
p,
facet_variable = NULL,
facet_ncol = NULL,
facet_nrow = NULL,
facet_scales = "fixed"
)
|
p |
A ggplot2 object |
facet_variable |
Wrap plots by given column (one of column names should be specified). This is used to put multiple plot in one picture. |
facet_ncol |
The number of columns one want when |
facet_nrow |
The number of rows one want when |
facet_scales |
Paramter for scales for facet. Default |
A ggplot2 object
1 2 3 4 | ## Not run:
sp_ggplot_facet(p, facet_variable)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.