Description Usage Arguments Value See Also Examples
Plot layout of boxes!
1 | plot_boxes(data, color_boxes = TRUE)
|
data |
Dataframe to be plotted. |
color_boxes |
logical indicating if polygons should be color coded or not. Default is |
ggplot2 object
Other plot functions:
plot_bar()
,
plot_diet_bec_dev()
,
plot_diet()
,
plot_line()
,
plot_rec()
,
plot_species()
1 2 3 4 5 6 7 8 | d <- system.file("extdata", "setas-model-new-trunk", package = "atlantistools")
bgm_data <- convert_bgm(file.path(d, "VMPA_setas.bgm"))
# Use color coding for polygons.
plot_boxes(bgm_data)
# Only use text to indicate polygons.
plot_boxes(bgm_data, color_boxes = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.