From dd30f0d0ff1d8d0cc46aaef6e0917c51fe798f52 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 19 Jan 2017 10:36:19 +0100 Subject: Move mkin::twa to pfm::max_twa.mkinfit - Add max_twa.mkinfit() recently introduced to mkin as mkin::twa() but never released with it - Add a test to check max_twa.one_box() against analytical solutions in max_twa.mkinfit(). - Clean up R CMD check - Update docs --- man/one_box.Rd | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'man/one_box.Rd') diff --git a/man/one_box.Rd b/man/one_box.Rd index 5a46142..8132a70 100644 --- a/man/one_box.Rd +++ b/man/one_box.Rd @@ -7,18 +7,22 @@ \alias{one_box.mkinfit} \title{Create a time series of decline data} \usage{ -one_box(x, ..., t_end = 100, res = 0.01) +one_box(x, ini, ..., t_end = 100, res = 0.01) -\method{one_box}{numeric}(x, ..., t_end = 100, res = 0.01) +\method{one_box}{numeric}(x, ini = 1, ..., t_end = 100, res = 0.01) -\method{one_box}{character}(x, parms, ..., t_end = 100, res = 0.01) +\method{one_box}{character}(x, ini = 1, parms, ..., t_end = 100, + res = 0.01) -\method{one_box}{mkinfit}(x, ..., t_end = 100, res = 0.01) +\method{one_box}{mkinfit}(x, ini = c("model", 1), ..., t_end = 100, + res = 0.01) } \arguments{ \item{x}{When numeric, this is the half-life to be used for an exponential decline. If x is an mkinfit object, the decline is calculated from this object} +\item{ini}{The initial amount for each compound} + \item{...}{Further arguments passed to methods} \item{t_end}{End of the time series} -- cgit v1.2.3