plotMonths: plotMonths

View source: R/plotMonths.R

plotMonthsR Documentation

plotMonths

Description

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.

Usage

plotMonths(model, pal = rainbow(12))

Arguments

model

Output from the piner function.

pal

The colour palette used to display the months.

Value

A ggplot object representing the stacked area plot of monthly probabilities for different stages.


Alessandra23/pineR documentation built on Aug. 26, 2023, 8 a.m.