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
#> \(tmax, dd_tmax) 0.564071 * tmax + 0.006434 * dd_tmax - 12.37046 > 0
#> <environment: namespace:barrks>
#> 
#> $dd_onset_alt_start_date
#> [1] "04-01"
#> 
#> $dd_onset_alt_base
#> [1] 8.3
#> 
#> $onset_alt_func
#> \(tmax, dd_tmax) dd_tmax >= 140
#> <environment: namespace:barrks>
#>