Learn R Programming

barrks (version 1.1.1)

model: Get a phenology model

Description

Returns a (customized) phenology model.

Usage

model(m, ...)

Value

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

Arguments

m

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

...

List of parameters to customize the model.

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

Run this code
# \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)
# }

Run the code above in your browser using DataLab