The FitSecondaryGrowth
class contains a model fitted to a set of growth rates
gathered under a variety of static conditions.
Its constructor is fit_secondary_growth
.
It is a subclass of list with the items:
fit_results: object returned by modFit
.
secondary_model: secondary model fitted to the data.
mu_opt_fit: estimated growth rate under optimum conditions.
data: data used for the fit.
transformation: type of transformation of mu
for the fit.
# S3 method for FitSecondaryGrowth
plot(x, y = NULL, ..., which = 1, add_trend = FALSE)# S3 method for FitSecondaryGrowth
summary(object, ...)
# S3 method for FitSecondaryGrowth
residuals(object, ...)
# S3 method for FitSecondaryGrowth
coef(object, ...)
# S3 method for FitSecondaryGrowth
vcov(object, ...)
# S3 method for FitSecondaryGrowth
deviance(object, ...)
# S3 method for FitSecondaryGrowth
fitted(object, ...)
# S3 method for FitSecondaryGrowth
predict(object, newdata = NULL, ...)
An instance of FitSecondaryGrowth.
ignored.
ignored
A numeric with the type of plot. 1 for obs versus predicted (default), 2 for gamma curve
Whether to add a trend line (only for which=2)
an instance of FitSecondaryGrowth
.
A tibble describing the environmental conditions as in
fit_secondary_growth
. If NULL
, it uses the same
conditions as for model fitting (default).
plot.FitSecondaryGrowth
: plots to evaluate the goodness of the fit.
summary.FitSecondaryGrowth
: statistical summary of the fit.
residuals.FitSecondaryGrowth
: vector of model residuals.
coef.FitSecondaryGrowth
: vector of fitted model parameters.
vcov.FitSecondaryGrowth
: variance-covariance matrix of the model, estimated
as 1/(0.5*Hessian)
deviance.FitSecondaryGrowth
: deviance of the model.
fitted.FitSecondaryGrowth
: vector of fitted values.
The fitted values are returned in the same scale as the one used for the fitting (sqrt, log or none).
predict.FitSecondaryGrowth
: vector of model predictions.