# \donttest{
# load sample data
d <- barrks_data('stations')
# create onset, diapause, mortality
on <- create_onset(d, lubridate::yday('2015-04-15'))
dia <- create_diapause(d, lubridate::yday('2015-08-15'))
mort <- create_mortality(d, lubridate::yday('2015-11-15'))
# claculate phenologe
p <- phenology('phenips-clim', d, .quiet = TRUE,
.onset = on, .diapause = dia, .mortality = mort)
# plot development
plot_development_diagram(p, .lwd = 4)
# }
Run the code above in your browser using DataLab