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

get_secondary_residuals

Residuals of secondary models


Description

Residual function for fit_secondary_growth.

Usage

get_secondary_residuals(
  this_p,
  my_data,
  known_pars,
  sec_model_names,
  transformation
)

Arguments

this_p

Named vector of model parameter values.

my_data

Tibble with the data used for the fit.

known_pars

Named vector of fixed model paramaters.

sec_model_names

Named character vector defining the secondary model for each environmental factor.

transformation

Character defining the tranformation of mu for model fitting. One of sq (square root), log (log-transform) or none (no transformation).

Value

A numeric vector of residuals.


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.