Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_dyna_residuals

Residuals of dynamic prediction


Description

Function for calculating residuals of a dynamic prediction according to the requirements of modFit.

Usage

get_dyna_residuals(
  this_p,
  fit_data,
  env_conditions,
  known_pars,
  sec_model_names,
  cost = NULL
)

Arguments

this_p

named vector of model parameters

fit_data

tibble with the data for the fit

env_conditions

tibble with the environmental conditions

known_pars

named vector of known model parameters

sec_model_names

named character vector with names the environmental conditions and values the secondary model (e.g. 'CPM').

cost

an instance of modCost to be combined (to fit multiple models).

Value

An instance of modCost.


biogrowth

Modelling of Population Growth

v0.2.0
GPL-3
Authors
Alberto Garre [aut, cre] (<https://orcid.org/0000-0002-4404-3550>), Jeroen Koomen [aut], Heidy den Besten [aut], Marcel Zwietering [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.