Skip to contents

Returns a (customized) phenology model.

Usage

model(m, ...)

Arguments

m

Name of the model or the return value of another model()-call.

...

List of parameters to customize the model.

Value

A phenology model. Can be passed to phenology().

See also

Look at the customization manuals, to find out which parameters can be customized for a specific model: model.bso.customize, model.phenips.customize, model.rity.customize, model.chapy.customize, model.joensson.customize, model.lange.customize, model.phenips_clim.customize.

Examples

# \donttest{
# customize the temperature beetles need to fly for PHENIPS-Clim
m <- model('phenips-clim', tfly = 16)

# calculate phenology
p <- phenology(m, barrks_data(), .quiet = TRUE)

# plot generations
gens <- get_generations_rst(p)
terra::plot(gens)

# }