FitSerial | R Documentation |
The FitSerial
class contains growth rates estimated using the
function fit_serial_dilution()
.
It is a subclass of list with the items:
fit: object returned by nls()
.
mode: fitting approach.
data: data used for the model fitting.
## S3 method for class 'FitSerial'
print(x, ...)
## S3 method for class 'FitSerial'
coef(object, ...)
## S3 method for class 'FitSerial'
summary(object, ...)
## S3 method for class 'FitSerial'
predict(object, newdata = NULL, ...)
## S3 method for class 'FitSerial'
residuals(object, ...)
## S3 method for class 'FitSerial'
vcov(object, ...)
## S3 method for class 'FitSerial'
deviance(object, ...)
## S3 method for class 'FitSerial'
fitted(object, ...)
## S3 method for class 'FitSerial'
logLik(object, ...)
## S3 method for class 'FitSerial'
AIC(object, ..., k = 2)
## S3 method for class 'FitSerial'
plot(
x,
y = NULL,
...,
line_col = "black",
line_size = 1,
line_type = 1,
point_col = "black",
point_size = 3,
point_shape = 16,
label_y = NULL,
label_x = NULL
)
x |
The object of class FitSerial to plot. |
... |
ignored. |
object |
an instance of FitSerial |
newdata |
tibble (or data.frame) with the conditions for the prediction.
If |
k |
penalty for the parameters (k=2 by default) |
y |
ignored |
line_col |
colour of the line |
line_size |
size of the line |
line_type |
type of the line |
point_col |
colour of the points |
point_size |
size of the points |
point_shape |
shape of the point |
label_y |
label for the y-axis. By default, |
label_x |
label for the x-axis. By default, |
print(FitSerial)
: print of the model
coef(FitSerial)
: vector of fitted model parameters.
summary(FitSerial)
: statistical summary of the fit.
predict(FitSerial)
: vector of model predictions.
residuals(FitSerial)
: vector of model residuals.
vcov(FitSerial)
: variance-covariance matrix of the model
deviance(FitSerial)
: deviance of the model.
fitted(FitSerial)
: vector of fitted values.
logLik(FitSerial)
: loglikelihood of the model
AIC(FitSerial)
: Akaike Information Criterion
plot(FitSerial)
: compares the fitted model against the data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.