From 2ab822d51c4c7e29d62076336d7a3f02a46e41a5 Mon Sep 17 00:00:00 2001
From: Johannes Ranke
Date: Thu, 19 Jan 2017 11:41:19 +0100
Subject: Corrections in the documentation
---
docs/reference/one_box.html | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
(limited to 'docs/reference')
diff --git a/docs/reference/one_box.html b/docs/reference/one_box.html
index 853f892..4e60143 100644
--- a/docs/reference/one_box.html
+++ b/docs/reference/one_box.html
@@ -70,8 +70,7 @@
- The time series starts with the amount specified for the first application.
-This does not create objects of type ts
.
+ Create a time series of decline data
one_box(x, ini, ..., t_end = 100, res = 0.01)
@@ -84,16 +83,22 @@ This does not create objects of type ts
.
res = 0.01)
# S3 method for mkinfit
-one_box(x, ini = c("model", 1), ..., t_end = 100,
- res = 0.01)
+one_box(x, ini = "model", ..., t_end = 100, res = 0.01)
Arguments
- 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
+decline. When a character string specifying a parent decline model is given
+e.g. FOMC
, parms
must contain the corresponding paramters.
+If x is an mkinfit
object, the decline is calculated from this
+object.
- ini
- - The initial amount for each compound
+ - The initial amount for the parent compound. If x is an
+
mkinfit
object, and ini is 'model', the fitted initial
+concentrations are used. Otherwise, ini must be numeric. If it has
+length one, it is used for the parent and initial values of metabolites
+are zero, otherwise, it must give values for all observed variables.
- ...
- Further arguments passed to methods
- t_end
@@ -104,6 +109,10 @@ decline. If x is an mkinfit object, the decline is calculated from this object
- A named numeric vector containing the model parameters
+ Value
+
+ An object of class one_box
, inheriting from ts
.
+
Examples