Creates a plot of the kinetic fits

Usage

kinplot(kinobject, main = "", xlab = "Time [days]", ylab = "Parent [% of applied radioactivity]", ylim = c("auto", "auto"), lpos = "topright")

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 input dataset (data), the list of fitted kinetic models (fits), as returned by kinfit, and the list of results (results) as returned by kinresults. In contrast to the function kinreport, the data used for the fitting also has to be in the kinobject list. Optionally also the label position of the test compound (label) and the source of the data (source).
main
Title.
xlab
Label for the x axis.
ylab
Label for the y axis.
ylim
An array of length two holding the range for values on the y axis or "auto".
lpos
Where should the legend be placed? Will be passed on to legend.

Creates a plot of the kinetic fits

Description

Function to create a plot for a set of fitted models

Value

The function is called for its side effect, namely creating a plot with the fitted model.

Examples

data(FOCUS_2006_C) kinfits <- kinfit(FOCUS_2006_C, kinmodels = c("SFO", "FOMC", "DFOP")) 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>: kinplot(kinobject)

Author

Johannes Ranke