backFit {backfitRichards} | R Documentation |
Calculate the backfitted values for one Richards curve.
backFit(X, FUN = NULL, fit = NULL, ny = 0, respName = "SIGNAL", indepName = "ARGX", applyFUN2X = function(X, FUN, ...) FUN(X, ...), ...)
X |
the dataset for FUN . |
FUN |
a function estimating a model for each dataset.
This function is only called if the argument
fit is not given. |
fit |
a optional fit. |
ny |
a (optional) numerical value. This value has to given,
if ny is not fitted in the model. |
respName |
a text string with the name of the dependent variable. |
indepName |
a text string with the name of the independent variable.. |
applyFUN2X |
a function applied to each dataset,
retrieving starting value and fixing outliers,
and then calling the function FUN to
estimate the model for the modified dataset.
This function is only called if the argument
fit is not given. |
... |
additional arguments. |
The backfitted values for one Richards curve are calculated: For each
value of the independent variable (indepName
) the observed mean of
the dependent variable (respName
) is found from the dataset X
.
The value is found of the independent variable for which the value of the
estimated Richards function is equal to the observed mean of the response,
by the inverse of the Richards function and the fit of the curve.
This estimated value of the independent variable is taken relative the
actual value of the independent variable.
Matrix with relevant values.
Jens Henrik Badsberg