View source: R/auxiliary-plot.R
| base_aquatic_geno | R Documentation |
This function takes a given aquatic (egg, larval, pupal) stage and sums over the Erlang-distributed stages, returning summary trajectories by genotype.
base_aquatic_geno(out, spn_P, elp)
out |
the output of |
spn_P |
the places of the SPN, see details |
elp |
stage to summarize, one of: "egg", "larvae", "pupae" |
This function is the base function for summarize_eggs_geno,
summarize_larvae_geno, and summarize_pupae_geno.
The places (spn_P) object is generated from one of the following:
spn_P_lifecycle_node, spn_P_lifecycle_network,
spn_P_epiSIS_node, spn_P_epiSIS_network,
spn_P_epiSEIR_node, or spn_P_epiSEIR_network.
The return object depends on the data provided. If the simulation was only 1 node,
then no node designation is returned. If only one repetition was performed,
no rep designation is returned. Columns always returned include: time,
genotype, and value.
a 3 to 5 column dataframe for plotting with ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.