aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/one_box.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-01-19 10:47:09 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2017-01-19 10:47:09 +0100
commit3947731a5a8c3598271b26f5201dea4bcb13ef6d (patch)
treec8139c938f970b647421704b7a2b0780557a38d1 /docs/reference/one_box.html
parentdd30f0d0ff1d8d0cc46aaef6e0917c51fe798f52 (diff)
Fix one_box for ini = 1, use in sawtooth examples
Diffstat (limited to 'docs/reference/one_box.html')
-rw-r--r--docs/reference/one_box.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/one_box.html b/docs/reference/one_box.html
index cb49c02..853f892 100644
--- a/docs/reference/one_box.html
+++ b/docs/reference/one_box.html
@@ -116,7 +116,7 @@ decline. If x is an mkinfit object, the decline is calculated from this object</
<span class='fu'>plot</span>(<span class='no'>pred_1</span>)</div><img src='one_box-4.png' alt='' width='540' height='400' /><div class='input'>
<span class='co'># Use a model with more than one observed variable</span>
<span class='no'>m_2</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinmod</span>(<span class='kw'>parent</span> <span class='kw'>=</span> <span class='fu'>mkinsub</span>(<span class='st'>"SFO"</span>, <span class='st'>"m1"</span>), <span class='kw'>m1</span> <span class='kw'>=</span> <span class='fu'>mkinsub</span>(<span class='st'>"SFO"</span>))</div><div class='output co'>#&gt; <span class='message'>Successfully compiled differential equation model from auto-generated C code.</span></div><div class='input'><span class='no'>fit_2</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinfit</span>(<span class='no'>m_2</span>, <span class='no'>FOCUS_2006_D</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
-<span class='no'>pred_2</span> <span class='kw'>&lt;-</span> <span class='fu'>one_box</span>(<span class='no'>fit_2</span>)
+<span class='no'>pred_2</span> <span class='kw'>&lt;-</span> <span class='fu'>one_box</span>(<span class='no'>fit_2</span>, <span class='kw'>ini</span> <span class='kw'>=</span> <span class='st'>"model"</span>)
<span class='fu'>plot</span>(<span class='no'>pred_2</span>)</div><img src='one_box-8.png' alt='' width='540' height='400' /></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">

Contact - Imprint