kinresplot: Creates a plot of the residual for specified kinetic fits

Description Usage Arguments Value Author(s) Examples

Description

Function to create a residual plot for a specified fitted model

Usage

1
2
3
  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.

Value

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

Author(s)

Johannes Ranke

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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))	
## Not run: kinresplot(kinobject, "SFO")


Search within the kinfit package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.