Creates a plot of the residual for specified kinetic fits

Usage

kinresplot(kinobject, kinmodel, xlab = "Time [days]", ylab = "Residual [% of applied radioactivity]", maxabs = "auto")

Arguments

kinobject
A list containing the following elements: The name of the parent compound to be output (parent), the type of the test system (type), the name of the specific test system used for generating this dataset (system), the list of fitted kinetic models (fits), as returned by kinfit, and optionally the list of results (results) as returned by kinresults. Also optional is the label position of the test compound (label) and the source of the data (source).
kinmodel
The fitted model for which the residuals should be plotted.
xlab
Label for the x axis.
ylab
Label for the y axis.
maxabs
Maximum value of the absolute residuals, will be calculated from the residuals if not specified otherwise.

Creates a plot of the residual for specified kinetic fits

Description

Function to create a residual plot for a specified fitted model

Value

The function is called for its side effect, namely creating a residual plot for the specified fit.

Examples

data(FOCUS_2006_C) kinfits <- kinfit(FOCUS_2006_C) kinobject <- list( parent = "Compound XY", type = "Degradation in the environment", system = "System 1", source = "Synthetic example data from FOCUS kinetics", data = FOCUS_2006_C, fits = kinfits, results = kinresults(kinfits)) ## <strong>Not run</strong>: kinresplot(kinobject, "SFO")

Author

Johannes Ranke