View source: R/spatial_practical.R
adm.plot.gen | R Documentation |
Function to plot the generations of the simulation
adm.plot.gen(
datf,
gens = c(0, 1, 2, 3),
cols = c("red", "blue", "green", "orange")
)
datf |
data frame with farm coordinates and generation times |
gens |
vector of generations to be plotted |
cols |
vector of point colors for each generation (should be same length as gens vector) |
plot of the modelled disease spread with a color indicating a different generation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.