model: Get a phenology model

View source: R/model.R

modelR Documentation

Get a phenology model

Description

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


# 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)


barrks documentation built on April 3, 2025, 9:47 p.m.