build_ss_formula: Build a self-start model formula with optional fixed...

View source: R/aanalyse_kinetics_helpers.R

build_ss_formulaR Documentation

Build a self-start model formula with optional fixed parameters

Description

Constructs x ~ fn(t, ...) with each free parameter as a bare symbol and each fixed parameter substituted as its constant value.

Usage

build_ss_formula(fn, params, fix = list(), x, t)

Arguments

fn

Symbol; the self-start model function.

params

Character vector of parameter names in fn argument order.

fix

Named list of fixed parameter values.

x, t

Character; the response and time column names (see fit_names()), so the returned model predicts on the original channel names.

Value

A two-sided formula on x and t.


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