fitStd | R Documentation |
Fit a specified function to standards (serial dilutions). Optionally an interactive procedure that allows to remove outliers, evaluate resulting fits, perform revisions, and record a message regarding the fit.
fitStd(
std,
xvar,
yvar,
model = "sigmoid",
Alow = NULL,
asym = TRUE,
interactive = TRUE,
monot.prompt = FALSE,
rm.before = FALSE,
rm.after = interactive,
maxrm = 2,
set.bounds = FALSE,
overwrite.bounds = FALSE,
bg = NULL,
vsmp = NULL,
optmethod = "Nelder-Mead",
maxit = 5000,
extrapolate.low = FALSE,
extrapolate.up = FALSE,
info = "",
ifix = NULL,
tcklab = NULL,
stdcol = c("firebrick3", "darkslategray"),
rugcol = c("cadetblue", "purple", "firebrick2"),
...
)
std |
matrix or data frame with standards for fitting. |
xvar, yvar |
character strings for the variables used to fit a standard
curve. If |
model |
the model to be fit. |
Alow |
lower asymptote for the sigmoid model. If |
asym |
if |
interactive |
logical value. If |
monot.prompt |
if |
rm.before |
logical value indicating if potential outliers should be
removed before the model is fitted. Ignored if |
rm.after |
logical value indicating if potential outliers should be
removed after the model is fitted. Ignored if |
maxrm |
maximum number of outliers to remove. |
set.bounds |
if |
overwrite.bounds |
logical value indicating the option to overwrite
automatically set bounds. Ignored if |
bg |
values for background spots. |
vsmp |
sample values. |
optmethod |
method to be used in optimization. |
maxit |
maximum number of iterations in optimization. |
extrapolate.low |
if |
extrapolate.up |
if |
info |
information about a particular run for warning messages. |
ifix |
sorted integer vector of length 3 with indices of standards to be used for getting starting values for optimization. |
tcklab |
tick labels for x-axis. |
stdcol |
vector of two colors for the standard points and the fit on the plot. |
rugcol |
vector of three colors for the rugplot, which indicates sample values (inside the bounds, between the bounds and extrema, and beyond extrema). |
... |
further graphical parameters. |
to be added
A list containing parameters of the fit and bounds of the fit (named vectors), as well as indices of removed points (if any) and flags r.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.