.MicrobialGrowth.gompertz | R Documentation |
Regression function for Gompertz's model
.MicrobialGrowth.gompertz(
x,
y,
clip = c(-Inf, Inf),
start = list(),
lower = list(),
upper = list(),
nls.args = list(),
callbackError = NULL
)
x |
index series or time series. |
y |
values or list of values to regress (should not be logged). |
clip |
a pair of values indicating in which interval to clip the data |
start |
a named list of starting estimates. When |
lower |
a named list of lower bounds. When |
upper |
a named list of upper bounds. When |
nls.args |
additional parameters to use when calling nls. |
callbackError |
function to call on error during regression. |
The default values for clip
, start
, lower
and upper
are calculated based on the given data. These default values can be known through the call
member of the returned value.
The nls.args
argument is a list that can contain any nls function argument except formula
, algorithm
, start
, lower
and upper
which are already fixed (via a homonymous or hard-coded argument).
For the callbackError
argument, prefer the stop
function to block or warning
to not be blocking.
a MicrobialGrowth-object composed of
call |
the matched call with several components. |
coefficients |
coefficients obtained by regression. |
data |
data used for regression, once the y values are clipped |
f |
a list of functions such as |
isValid |
a boolean indicating whether the regression was successful or not. |
message |
contains the error message if the regression fails, |
reg |
the |
MicrobialGrowth, .gompertz.formula
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.