View source: R/analyse_biexponential.R
| biexp_core | R Documentation |
biexp_core() evaluates the curve and its partial derivatives on the
canonical parameters. biexp_model() is the model function of
SSbiexponential(): biexponential() plus the gradient for the
parameters written as bare symbols in the call (see free_params()),
so stats::nls() skips stats::numericDeriv().
biexp_core(t, A, B, tau, B2, tau2, TD = NULL)
biexp_model(t, A, B, tau, B2, tau2, TD = NULL)
t |
A numeric vector of the predictor variable (time). |
A |
A numeric parameter for the starting value of the response
variable (the |
B |
A numeric parameter for the asymptote of the fast component; the value the fast response alone would approach. |
tau |
A numeric parameter for the fast time constant ( |
B2 |
A numeric parameter for the asymptote of the slow component;
the stable plateau the response recovers toward as |
tau2 |
A numeric parameter for the slow time constant ( |
TD |
A numeric parameter for the time delay before the onset of the
response, in units of the predictor variable |
biexp_core(): a list of the curve val and the partial
derivatives by parameter name. biexp_model(): a numeric vector of
predicted values with a "gradient" attribute when any parameter is
free.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.