aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/mkin_long_to_wide.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-05-05 12:46:31 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2017-05-05 12:46:31 +0200
commitccc70e82af4ba435f0a71ba1ae4e0e92045c3852 (patch)
treed8ffd99be771f47eae876f244b049742481bdd25 /docs/reference/mkin_long_to_wide.html
parent1c7dbeec335c404377381157d34db6e219ce3f21 (diff)
Static docs except articles rebuilt with current pkgdown
Diffstat (limited to 'docs/reference/mkin_long_to_wide.html')
-rw-r--r--docs/reference/mkin_long_to_wide.html48
1 files changed, 26 insertions, 22 deletions
diff --git a/docs/reference/mkin_long_to_wide.html b/docs/reference/mkin_long_to_wide.html
index 9b37726e..8d6432ae 100644
--- a/docs/reference/mkin_long_to_wide.html
+++ b/docs/reference/mkin_long_to_wide.html
@@ -6,8 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<title>
- — mkin_long_to_wide • mkin</title>
+<title>Convert a dataframe from long to wide format — mkin_long_to_wide • mkin</title>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
@@ -26,12 +25,14 @@
<script src="../pkgdown.js"></script>
<!-- mathjax -->
-<script src='https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
+<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
+
+
</head>
<body>
@@ -71,6 +72,9 @@
<li>
<a href="../articles/compiled_models.html">Performance benefit by using compiled model definitions in mkin</a>
</li>
+ <li>
+ <a href="../articles/twa.html">Calculation of time weighted average concentrations with mkin</a>
+ </li>
</ul>
</li>
<li>
@@ -96,8 +100,7 @@
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
- <h1>
-</h1>
+ <h1>Convert a dataframe from long to wide format</h1>
</div>
@@ -106,25 +109,26 @@
dependent variables as columns.</p>
- <pre><span class='fu'>mkin_long_to_wide</span>(<span class='no'>long_data</span>, <span class='kw'>time</span> <span class='kw'>=</span> <span class='st'>"time"</span>, <span class='kw'>outtime</span> <span class='kw'>=</span> <span class='st'>"time"</span>)</pre>
+ <pre class="usage"><span class='fu'>mkin_long_to_wide</span>(<span class='no'>long_data</span>, <span class='kw'>time</span> <span class='kw'>=</span> <span class='st'>"time"</span>, <span class='kw'>outtime</span> <span class='kw'>=</span> <span class='st'>"time"</span>)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
- <dl class="dl-horizontal">
- <dt>long_data</dt>
- <dd>
- The dataframe must contain one variable called &quot;time&quot; with the time values specified by the
- <code>time</code> argument, one column called &quot;name&quot; with the grouping of the observed values, and
- finally one column of observed values called &quot;value&quot;.
-</dd>
- <dt>time</dt>
- <dd>
- The name of the time variable in the long input data.
-</dd>
- <dt>outtime</dt>
- <dd>
- The name of the time variable in the wide output data.
-</dd>
- </dl>
+ <table class="ref-arguments">
+ <colgroup><col class="name" /><col class="desc" /></colgroup>
+ <tr>
+ <th>long_data</th>
+ <td><p>The dataframe must contain one variable called "time" with the time values specified by the
+ <code>time</code> argument, one column called "name" with the grouping of the observed values, and
+ finally one column of observed values called "value".</p></td>
+ </tr>
+ <tr>
+ <th>time</th>
+ <td><p>The name of the time variable in the long input data.</p></td>
+ </tr>
+ <tr>
+ <th>outtime</th>
+ <td><p>The name of the time variable in the wide output data.</p></td>
+ </tr>
+ </table>
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>

Contact - Imprint