Description Usage Arguments Details Value Author(s) References See Also
View source: R/plot_phen_model.R
Produces a plot of the phenology model evaluations.
1 2 3 4 5 6 7 8 9 10 | plot_phen_model(obj, obj_gen2, binwidth = 8, forecast = FALSE,
observed_data = NULL, ylab = "Days from 1st November",
xlab = "Modelled Life-Cycle Stages",
labels = c("Budburst",
"Post-Diapause",
"Ovipositing Period (Eggs)",
"Larvae Emergence",
"Pupae Emergence",
"Adult Emergence",
"Sexual Maturation"))
|
obj |
an output of the |
obj_gen2 |
an output of the |
binwidth |
binwidth of the density estimator |
forecast |
logical. Set to |
observed_data |
an output from the |
ylab |
the y-axis label |
xlab |
the x-axis label |
labels |
a vector of strings representing the names of the life-cycle stages |
Visualisation of days until stage completion for different life cycle stages and generations. Plot can incorporate observed data, where available. All dates are counted from the 1st of November of the previous year. The estimated density is based on a Gaussian kernel whose binwidth can be easily modified using argument binwidth
. To add observed data points, see assign_observed_data
.
Since this is a ggplot
object, layers can be easily added by using standard ggplot
functions.
A ggplot
object.
Rafael de Andrade Moral (rafael.deandrademoral@mu.ie) and Rowan Fealy
Pollard C.P., Griffin C.T., Moral R.A., Duffy C., Chuche J., Gaffney M.T., Fealy R. (submitted) phenModel: a temperature-dependent phenology model for the blue willow beetle, Phratora vulgatissima.
phen_model
, phen_model_gen2
, phen_model_forecast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.