Residuals: Calculate residuals, quadratic residuals and the curves...

Description Usage Arguments Value

View source: R/Residuals.R

Description

Calculate residuals, quadratic residuals and the curves fitted both in the observation times and in the grid, that is the union of times of the all curves. It could be done for three models: Malthus, Gompertz and Logistic.

Usage

1
Residuals(model, time, Vol, par, plot)

Arguments

time

Vector of the all time for the different curves.

Vol

Vector of observations.

par

Vector of the parameters estimed for the respective model.

plot

If it is "TRUE" then it will be shown a plot od the residuals, an histogram and a qqplot.

Model

It is the name of the model among Malthus, Gompertz and Logistic that will be used.

Value

A list in which is stored the residuals, quadratic residuals, the curve fitted in both the observation times and all times.


mbeccuti/Prova documentation built on May 20, 2019, 5:26 p.m.