Skip to contents

Get the parameters of a model.

Usage

params(m, ...)

Arguments

m

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

...

List of parameters to customize the model.

Value

A list.

Examples

# print the first parameters of `phenips-clim`
head(params('phenips-clim'))
#> $dd_onset_start_date
#> [1] "03-01"
#> 
#> $dd_onset_base
#> [1] 12
#> 
#> $onset_func
#> function (tmax, dd_tmax) 
#> 0.564071 * tmax + 0.006434 * dd_tmax - 12.37046 > 0
#> <bytecode: 0x000001515f970b68>
#> <environment: namespace:barrks>
#> 
#> $onset_add_dd
#> 0.1 0.5 0.9 
#>   0  90 190 
#> 
#> $model_end_date
#> [1] "12-31"
#> 
#> $tfly
#> [1] 16.5
#>