diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2018-06-06 02:48:44 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2018-06-06 02:48:44 +0200 |
commit | 197606de234a936751ac3c1db2e4feb3fa117a92 (patch) | |
tree | 89b32979142a37737ba73e8a012b809abba8e92d /docs/reference/one_box.html | |
parent | 282820693c62b958e12104f4bb6229c04803f098 (diff) |
Rebuild docs with pkgdown 1.1.0
Diffstat (limited to 'docs/reference/one_box.html')
-rw-r--r-- | docs/reference/one_box.html | 43 |
1 files changed, 33 insertions, 10 deletions
diff --git a/docs/reference/one_box.html b/docs/reference/one_box.html index bfed3a1..1e793d0 100644 --- a/docs/reference/one_box.html +++ b/docs/reference/one_box.html @@ -21,16 +21,22 @@ <!-- clipboard.js --> <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha384-cV+rhyOuRHc9Ub/91rihWcGmMmCXDeksTtCihMupQHSsi8GIIRDG0ThDc3HGQFJ3" crossorigin="anonymous"></script> +<!-- sticky kit --> +<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script> + <!-- pkgdown --> <link href="../pkgdown.css" rel="stylesheet"> -<script src="../jquery.sticky-kit.min.js"></script> <script src="../pkgdown.js"></script> - - + + + <meta property="og:title" content="Create a time series of decline data — one_box" /> <meta property="og:description" content="Create a time series of decline data" /> <meta name="twitter:card" content="summary" /> + + + <!-- mathjax --> <script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script> @@ -53,8 +59,12 @@ <span class="icon-bar"></span> <span class="icon-bar"></span> </button> - <a class="navbar-brand" href="../index.html">pfm</a> + <span class="navbar-brand"> + <a class="navbar-link" href="../index.html">pfm</a> + <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.4.5</span> + </span> </div> + <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li> @@ -69,8 +79,14 @@ </ul> <ul class="nav navbar-nav navbar-right"> - + <li> + <a href="https://github.com/jranke/pfm"> + <span class="fa fa-github fa-lg"></span> + + </a> +</li> </ul> + </div><!--/.nav-collapse --> </div><!--/.container --> </div><!--/.navbar --> @@ -78,15 +94,19 @@ </header> - <div class="row"> +<div class="row"> <div class="col-md-9 contents"> <div class="page-header"> <h1>Create a time series of decline data</h1> + <small class="dont-index">Source: <a href='https://github.com/jranke/pfm/blob/master/R/twa.R'><code>R/twa.R</code></a></small> + <div class="hidden name"><code>one_box.Rd</code></div> </div> + <div class="ref-description"> <p>Create a time series of decline data</p> + </div> <pre class="usage"><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>) @@ -100,7 +120,7 @@ <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='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> + <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2> <table class="ref-arguments"> <colgroup><col class="name" /><col class="desc" /></colgroup> <tr> @@ -145,16 +165,16 @@ all observed variables.</p></td> <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> <span class='no'>pred_0</span> <span class='kw'><-</span> <span class='fu'>one_box</span>(<span class='fl'>10</span>) -<span class='fu'>plot</span>(<span class='no'>pred_0</span>)</div><div class='img'><img src='one_box-1.png' alt='' width='700' height='432.632880098887' /></div><div class='input'> +<span class='fu'>plot</span>(<span class='no'>pred_0</span>)</div><div class='img'><img src='one_box-1.png' alt='' width='700' height='433' /></div><div class='input'> <span class='co'># Use a fitted mkinfit model</span> <span class='fu'>require</span>(<span class='no'>mkin</span>) <span class='no'>fit</span> <span class='kw'><-</span> <span class='fu'><a href='http://www.rdocumentation.org/packages/mkin/topics/mkinfit'>mkinfit</a></span>(<span class='st'>"FOMC"</span>, <span class='no'>FOCUS_2006_C</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>) <span class='no'>pred_1</span> <span class='kw'><-</span> <span class='fu'>one_box</span>(<span class='no'>fit</span>) -<span class='fu'>plot</span>(<span class='no'>pred_1</span>)</div><div class='img'><img src='one_box-2.png' alt='' width='700' height='432.632880098887' /></div><div class='input'> +<span class='fu'>plot</span>(<span class='no'>pred_1</span>)</div><div class='img'><img src='one_box-2.png' alt='' width='700' height='433' /></div><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'><-</span> <span class='fu'><a href='http://www.rdocumentation.org/packages/mkin/topics/mkinmod'>mkinmod</a></span>(<span class='kw'>parent</span> <span class='kw'>=</span> <span class='fu'><a href='http://www.rdocumentation.org/packages/mkin/topics/mkinsub'>mkinsub</a></span>(<span class='st'>"SFO"</span>, <span class='st'>"m1"</span>), <span class='kw'>m1</span> <span class='kw'>=</span> <span class='fu'><a href='http://www.rdocumentation.org/packages/mkin/topics/mkinsub'>mkinsub</a></span>(<span class='st'>"SFO"</span>))</div><div class='output co'>#> <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'><-</span> <span class='fu'><a href='http://www.rdocumentation.org/packages/mkin/topics/mkinfit'>mkinfit</a></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'><-</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><div class='img'><img src='one_box-3.png' alt='' width='700' height='432.632880098887' /></div></pre> +<span class='fu'>plot</span>(<span class='no'>pred_2</span>)</div><div class='img'><img src='one_box-3.png' alt='' width='700' height='433' /></div></pre> </div> <div class="col-md-3 hidden-xs hidden-sm" id="sidebar"> <h2>Contents</h2> @@ -181,5 +201,8 @@ all observed variables.</p></td> </footer> </div> + + </body> </html> + |