View source: R/analyse_sigmoidal_drift.R
| sigdrift_texc | R Documentation |
The time past the inflection at which the drift rate overtakes the
decaying sigmoid rate, |S'(t)| = |slope_B|, floored at the drift onset
(see sigdrift_onset()): the turning point of the curve when the
phases oppose, or where the linear trend takes over a monotonic
response. A drift at least as fast as the peak sigmoid rate slope
takes over from the onset. Scalar parameters only.
sigdrift_texc(A, B, xmid, slope, slope_B, drift_fraction, shape)
A |
A numeric parameter for the starting asymptote of the response variable. |
B |
A numeric parameter for the ending asymptote of the response variable. |
xmid |
A numeric parameter for the time at the inflection point (the
steepest point) of the curve, in units of the predictor variable |
slope |
A numeric parameter for the response rate |
slope_B |
A numeric parameter for the linear drift rate |
drift_fraction |
A numeric fraction of the primary amplitude |
shape |
Character; the 4-parameter sigmoidal shape. One of
|
With ratio = |slope_B / slope| and u = k * (t - xmid) (see
sigdrift_rate()), the sigmoid rate relative to its peak is
4 * L * (1 - L) with L = 1 / (1 + exp(-u)) for "symmetric", solved
as u = 2 * atanh(sqrt(1 - r)); exp(1 - u - exp(-u)) for
"gompertz"; and exp(1 + u - exp(u)) for "gompertz_left". The
Gompertz forms have no closed inverse and are solved by
stats::uniroot() on a bracket containing the single post-inflection
root.
A numeric excursion time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.