resolve_fixed_params: Resolve fixed parameters from a self-start model call

View source: R/aanalyse_kinetics_helpers.R

resolve_fixed_paramsR Documentation

Resolve fixed parameters from a self-start model call

Description

Classifies each self-start model parameter in a matched call as free (written as its own bare symbol) or fixed (written as any other value, e.g. A = 0). Fixed expressions are evaluated for use as initialisation seeds; values that cannot be resolved to a finite numeric scalar return NULL and seeds fall back to data-driven estimates.

Usage

resolve_fixed_params(mCall, params, data)

Arguments

mCall

A matched call to the selfStart model.

params

Character vector of the model parameter names.

data

A data frame with the model variables.

Value

A named list of fixed parameter values, empty when no parameters are fixed.


mnirs documentation built on Sept. 13, 2026, 1:06 a.m.