.checkMicrobialGrowthArgs | R Documentation |
Check the arguments passed to the regression function.
Tests are generic for all models. For example, the same length for x and y, the type of the
different arguments, the values inserted in start
, lower
and upper
, etc. are tested
.checkMicrobialGrowthArgs(
x,
y,
clip,
start,
lower,
upper,
nls.args,
callbackError
)
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. |
During the check, the clip
value is also updated. If the lower bound of clip
is -Inf
(default value), then this value is replaced by the smallest value greater than zero found in y
.
the modified clip
value and raises an error if something is wrong.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.