plotMonths | R Documentation |
Create a Stacked Area Plot of Monthly Probabilities for Different Stages. This function takes a simulation table and a data frame name as input, and returns a ggplot object representing a stacked area plot of monthly probabilities for different stages (L, P, E, M, and O) with a viridis color palette.
plotMonths(model, pal = rainbow(12))
model |
Output from the |
pal |
The colour palette used to display the months. |
A ggplot object representing the stacked area plot of monthly probabilities for different stages.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.