aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-01-19 11:41:19 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2017-01-19 11:41:19 +0100
commit2ab822d51c4c7e29d62076336d7a3f02a46e41a5 (patch)
treeb9836a7318d92bc73e96dfd8a943986fa3f3cee7 /docs
parent46883a0c3a3c00127a563a7befa0af440573baaa (diff)
Corrections in the documentation
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/one_box.html25
1 files changed, 18 insertions, 7 deletions
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 @@
</div>
- <p>The time series starts with the amount specified for the first application.
-This does not create objects of type <code>ts</code>.</p>
+ <p>Create a time series of decline data</p>
<pre><span class='fu'>one_box</span>(<span class='no'>x</span>, <span class='no'>ini</span>, <span class='no'>...</span>, <span class='kw'>t_end</span> <span class='kw'>=</span> <span class='fl'>100</span>, <span class='kw'>res</span> <span class='kw'>=</span> <span class='fl'>0.01</span>)
@@ -84,16 +83,22 @@ This does not create objects of type <code>ts</code>.</p>
<span class='kw'>res</span> <span class='kw'>=</span> <span class='fl'>0.01</span>)
<span class='co'># S3 method for mkinfit</span>
-<span class='fu'>one_box</span>(<span class='no'>x</span>, <span class='kw'>ini</span> <span class='kw'>=</span> <span class='fu'>c</span>(<span class='st'>"model"</span>, <span class='fl'>1</span>), <span class='no'>...</span>, <span class='kw'>t_end</span> <span class='kw'>=</span> <span class='fl'>100</span>,
- <span class='kw'>res</span> <span class='kw'>=</span> <span class='fl'>0.01</span>)</pre>
+<span class='fu'>one_box</span>(<span class='no'>x</span>, <span class='kw'>ini</span> <span class='kw'>=</span> <span class='st'>"model"</span>, <span class='no'>...</span>, <span class='kw'>t_end</span> <span class='kw'>=</span> <span class='fl'>100</span>, <span class='kw'>res</span> <span class='kw'>=</span> <span class='fl'>0.01</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
<dl class="dl-horizontal">
<dt>x</dt>
<dd>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</dd>
+decline. When a character string specifying a parent decline model is given
+e.g. <code>FOMC</code>, <code>parms</code> must contain the corresponding paramters.
+If x is an <code>mkinfit</code> object, the decline is calculated from this
+object.</dd>
<dt>ini</dt>
- <dd>The initial amount for each compound</dd>
+ <dd>The initial amount for the parent compound. If x is an
+<code>mkinfit</code> object, and ini is &#39;model&#39;, 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.</dd>
<dt>...</dt>
<dd>Further arguments passed to methods</dd>
<dt>t_end</dt>
@@ -104,6 +109,10 @@ decline. If x is an mkinfit object, the decline is calculated from this object</
<dd>A named numeric vector containing the model parameters</dd>
</dl>
+ <h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
+
+ <p>An object of class <code>one_box</code>, inheriting from <code>ts</code>.</p>
+
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'><span class='co'># Only use a half-life</span>
@@ -123,7 +132,9 @@ decline. If x is an mkinfit object, the decline is calculated from this object</
<h2>Contents</h2>
<ul class="nav nav-pills nav-stacked">
<li><a href="#arguments">Arguments</a></li>
-
+
+ <li><a href="#value">Value</a></li>
+
<li><a href="#examples">Examples</a></li>
</ul>

Contact - Imprint