View source: R/analyse_sigmoidal_drift.R
| sigdrift_start | R Documentation |
Vector-level initialiser behind sigdrift_init(), called directly by
the kinetics worker on the fit window. The sigmoid is seeded as for
SSgompertz() (init_asymptotes(), init_inflection()), the drift
onset resolved from that seed, and the residual from the seeded sigmoid
past the onset regressed on time from the onset: the intercept corrects
the asymptote B and the slope is the drift. A second pass re-seeds the
sigmoid on the drift-corrected response, correcting an inflection
biased by the drift. Fewer than two points past the onset seed a zero
drift. User-fixed values are held.
sigdrift_start(x, t, fixed = list(), shape = "symmetric")
x |
A numeric vector of the response variable (sorted by |
t |
A numeric vector of the predictor variable. |
fixed |
A named list of user-fixed parameter values. |
shape |
Character; the 4-parameter sigmoidal shape. One of
|
A named numeric vector of starting estimates in model order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.