Learn R Programming

chillR (version 0.75)

chifull: chifull

Description

RSS to minimise by `phenologyFitter`

Usage

chifull(par, modelfn, bloomJDays, SeasonList, na_penalty = 365, ...)

Arguments

par

numeric. vector of fit parameters

modelfn

function. model function

bloomJDays

numeric. vector of bloom hours! per year

SeasonList

list. list of index vectors per year.

na_penalty

numeric. penalty value for the residual if the model returns `NA`.

...

further parameters to pass on to `modelfn`.

Details

function to compute the RSS