View source: R/aanalyse_kinetics_helpers.R
| fit_td_fallback | R Documentation |
Shared attempt skeleton for the nls-based kinetics workers. The TD
model is flat at A before TD, so the pre-onset baseline anchors
A; the reduced model has no such region and diverges at t < 0, so
it is fit from start_time onward. An under-determined attempt is
rejected before it reaches fitter, and a failed TD fit falls back to
the reduced model without TD unless TD is user-fixed. Every failure
is reported through warn_fit_failed().
fit_td_fallback(x_fit, t_fit, params, .a, fitter, fn, ctx)
x_fit, t_fit |
Numeric vectors of the channel fit window. |
params |
Character vector of parameter names in model order,
including |
.a |
The channel's resolved argument list ( |
fitter |
A function |
fn |
Symbol; the self-start fn named in the warning. |
ctx |
The channel context list of |
A list with model (or NULL), the params actually fit,
the logical row filter keep, and the fit data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.