From 329dadc5fd557cbeec0d1f3a6db57b6b4d6f41d4 Mon Sep 17 00:00:00 2001 From: jranke Date: Sat, 16 Feb 2013 21:15:52 +0000 Subject: - Some maintenance fixes - Start of the examples vignette git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@61 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- man/mkin_long_to_wide.Rd | 5 +++-- man/mkinfit.Rd | 2 +- man/mkinresplot.Rd | 2 +- man/plot.mkinfit.Rd | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) (limited to 'man') diff --git a/man/mkin_long_to_wide.Rd b/man/mkin_long_to_wide.Rd index 6fa1860..e583664 100644 --- a/man/mkin_long_to_wide.Rd +++ b/man/mkin_long_to_wide.Rd @@ -13,8 +13,9 @@ mkin_long_to_wide(long_data, time = "time", outtime = "time") } \arguments{ \item{long_data}{ - The dataframe must contain one variable with the time values specified by the - \code{time} argument and one column of observed values named "value". + The dataframe must contain one variable called "time" with the time values specified by the + \code{time} argument, one column called "name" with the grouping of the observed values, and + finally one column of observed values called "value". } \item{time}{ The name of the time variable in the long input data. diff --git a/man/mkinfit.Rd b/man/mkinfit.Rd index 181da4b..319b1b3 100644 --- a/man/mkinfit.Rd +++ b/man/mkinfit.Rd @@ -26,7 +26,7 @@ mkinfit(mkinmod, observed, } \item{observed}{ The observed data. It has to be in the long format as described in - \code{\link{modFit}}, i.e. the first column must contain the name of the + \code{\link{modFit}}, i.e. the first column called "name" must contain the name of the observed variable for each data point. The second column must contain the times of observation, named "time". The third column must be named "value" and contain the observed values. Optionally, a further column can contain diff --git a/man/mkinresplot.Rd b/man/mkinresplot.Rd index 0b48692..8e3f18a 100644 --- a/man/mkinresplot.Rd +++ b/man/mkinresplot.Rd @@ -9,7 +9,7 @@ } \usage{ mkinresplot(object, obs_vars = vector(), - xlab = "Time [days]", ylab = "Residual [\% of applied radioactivity]", + xlab = "Time", ylab = "Residual", maxabs = "auto", legend = TRUE, lpos = "topright", ...) } \arguments{ diff --git a/man/plot.mkinfit.Rd b/man/plot.mkinfit.Rd index 01b8cec..56ee551 100644 --- a/man/plot.mkinfit.Rd +++ b/man/plot.mkinfit.Rd @@ -10,7 +10,7 @@ } \usage{ \method{plot}{mkinfit}(x, fit = x, xlab = "Time", ylab = "Observed", - xlim = range(fit$data$time), ylim = range(fit$data$observed, na.rm = TRUE), + xlim = range(fit$data$time), ylim = c(0, max(fit$data$observed, na.rm = TRUE)), col_obs = 1:length(fit$mkinmod$map), pch_obs = col_obs, lty_obs = 1, add = FALSE, legend = !add, ...) } -- cgit v1.2.1