View source: R/model-combine.R
model_combine | R Documentation |
Combine different (sub-)models.
model_combine(...)
... |
Phenology models, model names or lists with the keys |
A phenology model. Can be passed to phenology()
.
model()
, phenology()
Customize (sub-)models: model.bso.customize
, model.phenips.customize
, model.rity.customize
, model.chapy.customize
, model.joensson.customize
, model.lange.customize
, model.phenips_clim.customize
Use (sub-)models: model.bso.apply
, model.phenips.apply
, model.rity.apply
, model.chapy.apply
, model.joensson.apply
, model.lange.apply
, model.phenips_clim.apply
# combine PHENIPS with the diapause submodel of PHENIPS-Clim
m <- model_combine('phenips',
list(model = 'phenips-clim', submodels = 'diapause'))
# calculate phenology
p <- phenology(m, barrks_data(), .quiet = TRUE)
# plot calculated generations
gens <- get_generations_rst(p)
terra::plot(gens)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.