diff options
Diffstat (limited to 'docs/dev/reference/mkinpredict.html')
-rw-r--r-- | docs/dev/reference/mkinpredict.html | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/docs/dev/reference/mkinpredict.html b/docs/dev/reference/mkinpredict.html index f265a234..01c15a19 100644 --- a/docs/dev/reference/mkinpredict.html +++ b/docs/dev/reference/mkinpredict.html @@ -124,6 +124,7 @@ kinetic parameters and initial values for the state variables.</p> <span> outtimes <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq</a></span><span class="op">(</span><span class="fl">0</span>, <span class="fl">120</span>, by <span class="op">=</span> <span class="fl">0.1</span><span class="op">)</span>,</span> <span> solution_type <span class="op">=</span> <span class="st">"deSolve"</span>,</span> <span> use_compiled <span class="op">=</span> <span class="st">"auto"</span>,</span> +<span> use_symbols <span class="op">=</span> <span class="cn">FALSE</span>,</span> <span> method.ode <span class="op">=</span> <span class="st">"lsoda"</span>,</span> <span> atol <span class="op">=</span> <span class="fl">1e-08</span>,</span> <span> rtol <span class="op">=</span> <span class="fl">1e-10</span>,</span> @@ -193,6 +194,11 @@ parent compound.</p></dd> <a href="mkinmod.html">mkinmod</a> model is used, even if is present.</p></dd> +<dt>use_symbols</dt> +<dd><p>If set to <code>TRUE</code> (default), symbol info present in +the <a href="mkinmod.html">mkinmod</a> object is used if available for accessing compiled code</p></dd> + + <dt>method.ode</dt> <dd><p>The solution method passed via mkinpredict to ode] in case the solution type is "deSolve" and we are not using compiled code. @@ -388,27 +394,18 @@ as these always return mapped output.</p></dd> <span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span>parent <span class="op">=</span> <span class="fl">100</span>, m1 <span class="op">=</span> <span class="fl">0</span><span class="op">)</span>, <span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq</a></span><span class="op">(</span><span class="fl">0</span>, <span class="fl">20</span>, by <span class="op">=</span> <span class="fl">0.1</span><span class="op">)</span>,</span></span> <span class="r-in"><span> solution_type <span class="op">=</span> <span class="st">"analytical"</span>, use_compiled <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span><span class="op">[</span><span class="fl">201</span>,<span class="op">]</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="op">}</span></span></span> -<span class="r-msg co"><span class="r-pr">#></span> Loading required package: rbenchmark</span> <span class="r-out co"><span class="r-pr">#></span> test relative elapsed</span> -<span class="r-out co"><span class="r-pr">#></span> 4 analytical 1.000 0.007</span> -<span class="r-out co"><span class="r-pr">#></span> 1 eigen 1.143 0.008</span> -<span class="r-out co"><span class="r-pr">#></span> 2 deSolve_compiled 8.857 0.062</span> -<span class="r-out co"><span class="r-pr">#></span> 3 deSolve 8.857 0.062</span> +<span class="r-out co"><span class="r-pr">#></span> 2 deSolve_compiled 1.0 0.002</span> +<span class="r-out co"><span class="r-pr">#></span> 4 analytical 1.0 0.002</span> +<span class="r-out co"><span class="r-pr">#></span> 1 eigen 4.0 0.008</span> +<span class="r-out co"><span class="r-pr">#></span> 3 deSolve 30.5 0.061</span> <span class="r-in"><span></span></span> <span class="r-in"><span><span class="co"># \dontrun{</span></span></span> <span class="r-in"><span> <span class="co"># Predict from a fitted model</span></span></span> <span class="r-in"><span> <span class="va">f</span> <span class="op"><-</span> <span class="fu"><a href="mkinfit.html">mkinfit</a></span><span class="op">(</span><span class="va">SFO_SFO</span>, <span class="va">FOCUS_2006_C</span>, quiet <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span> <span class="r-in"><span> <span class="va">f</span> <span class="op"><-</span> <span class="fu"><a href="mkinfit.html">mkinfit</a></span><span class="op">(</span><span class="va">SFO_SFO</span>, <span class="va">FOCUS_2006_C</span>, quiet <span class="op">=</span> <span class="cn">TRUE</span>, solution_type <span class="op">=</span> <span class="st">"deSolve"</span><span class="op">)</span></span></span> <span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/utils/head.html" class="external-link">head</a></span><span class="op">(</span><span class="fu">mkinpredict</span><span class="op">(</span><span class="va">f</span><span class="op">)</span><span class="op">)</span></span></span> -<span class="r-out co"><span class="r-pr">#></span> DLSODA- At current T (=R1), MXSTEP (=I1) steps </span> -<span class="r-out co"><span class="r-pr">#></span> taken on this call before reaching TOUT </span> -<span class="r-out co"><span class="r-pr">#></span> In above message, I1 = 1</span> -<span class="r-out co"><span class="r-pr">#></span> </span> -<span class="r-out co"><span class="r-pr">#></span> In above message, R1 = 9.99904e-07</span> -<span class="r-out co"><span class="r-pr">#></span> </span> -<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>an excessive amount of work (> maxsteps ) was done, but integration was not successful - increase maxsteps</span> -<span class="r-wrn co"><span class="r-pr">#></span> <span class="warning">Warning: </span>Returning early. Results are accurate, as far as they go</span> -<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in out[available, var]:</span> (subscript) logical subscript too long</span> +<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in !is.null(x$symbols) & use_symbols:</span> operations are possible only for numeric, logical or complex types</span> <span class="r-in"><span><span class="co"># }</span></span></span> <span class="r-in"><span></span></span> </code></pre></div> |