diff options
author | jranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb> | 2010-05-18 12:58:38 +0000 |
---|---|---|
committer | jranke <jranke@edb9625f-4e0d-4859-8d74-9fd3b1da38cb> | 2010-05-18 12:58:38 +0000 |
commit | 16f5b1d3c0136413e92b2be0f20d365e92e9cd1c (patch) | |
tree | edab7b27ba4253b9dd45520e504c54851f65f26f /man/mkinplot.Rd | |
parent | 30cbb4092f6d2d3beff5800603374a0d009ad770 (diff) |
Much more complete version that was just submitted to CRAN.
git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@9 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
Diffstat (limited to 'man/mkinplot.Rd')
-rw-r--r-- | man/mkinplot.Rd | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/man/mkinplot.Rd b/man/mkinplot.Rd new file mode 100644 index 00000000..58959d77 --- /dev/null +++ b/man/mkinplot.Rd @@ -0,0 +1,50 @@ +\name{mkinplot} +\alias{mkinplot} +\title{ + Plot the observed data and the fitted model of an mkinfit. +} +\description{ + Solves the differential equations with the optimised and fixed parameters + from a previous successful call to \code{\link{mkinfit}} and plots + the observed data together with the numerical solution of the fitted model. +} +\usage{ + mkinplot(fit, xlab = "Time", ylab = "Observed", + xlim = range(fit$data$time), ylim = range(fit$data$observed, na.rm=TRUE), ...) +} +\arguments{ + \item{fit}{ + an object of class \code{\link{mkinfit}}. + } + \item{xlab}{ + label for the x axis. + } + \item{ylab}{ + label for the y axis. + } + \item{xlim}{ + plot range in x direction. + } + \item{ylim}{ + plot range in y direction. + } + \item{\dots}{ + further arguments passed to \code{\link{plot}}. +} +} +\value{ + The function is called for its side effect. +} +\examples{ +# One parent compound, one metabolite, both single first order. +SFO_SFO <- mkinmod( + parent = list(type = "SFO", to = "m1", sink = TRUE), + m1 = list(type = "SFO")) +# Fit the model to the FOCUS example dataset D using defaults +fit <- mkinfit(SFO_SFO, FOCUS_2006_D) +\dontrun{mkinplot(fit)} +} +\author{ + Johannes Ranke +} +\keyword{ hplot } |