backFit {backfitRichards}R Documentation

Backfitted values for one Richards curve

Description

Calculate the backfitted values for one Richards curve.

Usage

backFit(X, FUN = NULL, fit = NULL, ny = 0,
        respName = "SIGNAL", indepName = "ARGX",
        applyFUN2X = function(X, FUN, ...) FUN(X, ...), ...) 

Arguments

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.

Details

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.

Value

Matrix with relevant values.

Author(s)

Jens Henrik Badsberg


[Package backfitRichards version 0.5.0 Index]