Description Usage Arguments Value Examples
View source: R/summarize_spew.R
Plot Synthetic Ecosystem
1 2 3 4 | plot_syneco(input_data, syneco, region_name = NULL, color_list = list(bds =
"white", interior = "gray60", roads = "gray10", agents = "darkorchid3", envs =
c("#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00",
"#CC79A7")))
|
input_data |
a list of the essential data and possibly supplementary data, shapefile must be one of the names |
syneco |
the outputted synthetic ecosystem data from spew |
region_name |
string, will become the title of the plot |
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 |
plot of the synthetic ecosystem
1 2 3 4 5 6 | data(tartanville)
tartanville_syneco <- spew(tartanville$pop_table, tartanville$shapefile,
tartanville$pums_h, tartanville$pums_p)
plot_syneco(tartanville, tartanville_syneco, region_name = "Tartanville")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.