Description Usage Arguments Value
View source: R/summarize_spew.R
Plot the agents of synthetic ecosystem
1 2 3 4 | plot_agents(syneco, input_data, g = NULL, color_list = list(bds = "white",
interior = "gray60", roads = "gray10", agents = "darkorchid3", envs =
c("#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00",
"#CC79A7")))
|
syneco |
the outputted synthetic ecosystem data from spew |
input_data |
a list of the essential data and possibly supplementary data, shapefile must be one of the names |
g |
a ggplot. Default is NULL. |
color_list |
optional list of colors to provide to the synthetic ecosystem. This must be a list with the following components: "bds", "interior", "roads", "agents", "envs" where each entry in the list is a color or vector of colors |
a ggplot of the region
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.