aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/mkin_wide_to_long.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-10-25 02:10:08 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2019-10-25 02:10:08 +0200
commitaf2e1540cdad2fd00bb6216a38a754ff748629ad (patch)
tree9ec5d1ff3050c9fa826636536fc60dbda9edb1e4 /docs/reference/mkin_wide_to_long.html
parent0a3eb0893cb4bd1b12f07a79069d1c7f5e991495 (diff)
Static documentation rebuilt by pkgdown
Diffstat (limited to 'docs/reference/mkin_wide_to_long.html')
-rw-r--r--docs/reference/mkin_wide_to_long.html36
1 files changed, 19 insertions, 17 deletions
diff --git a/docs/reference/mkin_wide_to_long.html b/docs/reference/mkin_wide_to_long.html
index d8ae913f..523d45e1 100644
--- a/docs/reference/mkin_wide_to_long.html
+++ b/docs/reference/mkin_wide_to_long.html
@@ -8,11 +8,13 @@
<title>Convert a dataframe with observations over time into long format — mkin_wide_to_long • mkin</title>
+
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
<!-- Font Awesome icons -->
@@ -32,14 +34,16 @@
-<meta property="og:title" content="Convert a dataframe with observations over time into long format — mkin_wide_to_long" />
-<meta property="og:description" content="This function simply takes a dataframe with one independent variable and several
- dependent variable and converts it into the long form as required by mkinfit." />
+<meta property="og:title" content="Convert a dataframe with observations over time into long format — mkin_wide_to_long" />
+<meta property="og:description" content="This function simply takes a dataframe with one independent variable and
+several dependent variable and converts it into the long form as required by
+mkinfit." />
<meta name="twitter:card" content="summary" />
+
<!-- mathjax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
@@ -110,7 +114,6 @@
<a href="../news/index.html">News</a>
</li>
</ul>
-
<ul class="nav navbar-nav navbar-right">
</ul>
@@ -132,50 +135,49 @@
</div>
<div class="ref-description">
-
- <p>This function simply takes a dataframe with one independent variable and several
- dependent variable and converts it into the long form as required by <code><a href='mkinfit.html'>mkinfit</a></code>.</p>
-
+ <p>This function simply takes a dataframe with one independent variable and
+several dependent variable and converts it into the long form as required by
+<code><a href='mkinfit.html'>mkinfit</a></code>.</p>
</div>
<pre class="usage"><span class='fu'>mkin_wide_to_long</span>(<span class='no'>wide_data</span>, <span class='kw'>time</span> <span class='kw'>=</span> <span class='st'>"t"</span>)</pre>
-
+
<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>
<th>wide_data</th>
- <td><p>The dataframe must contain one variable with the time values specified by the
- <code>time</code> argument and usually more than one column of observed values.</p></td>
+ <td><p>The dataframe must contain one variable with the time
+values specified by the <code>time</code> argument and usually more than one
+column of observed values.</p></td>
</tr>
<tr>
<th>time</th>
<td><p>The name of the time variable.</p></td>
</tr>
</table>
-
+
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
<p>Dataframe in long format as needed for <code><a href='mkinfit.html'>mkinfit</a></code>.</p>
-
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
- <pre class="examples"><div class='input'><span class='no'>wide</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/data.frame.html'>data.frame</a></span>(<span class='kw'>t</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span class='fl'>1</span>,<span class='fl'>2</span>,<span class='fl'>3</span>), <span class='kw'>x</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span class='fl'>1</span>,<span class='fl'>4</span>,<span class='fl'>7</span>), <span class='kw'>y</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span class='fl'>3</span>,<span class='fl'>4</span>,<span class='fl'>5</span>))
+ <pre class="examples"><div class='input'>
+<span class='no'>wide</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/data.frame.html'>data.frame</a></span>(<span class='kw'>t</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span class='fl'>1</span>,<span class='fl'>2</span>,<span class='fl'>3</span>), <span class='kw'>x</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span class='fl'>1</span>,<span class='fl'>4</span>,<span class='fl'>7</span>), <span class='kw'>y</span> <span class='kw'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span>(<span class='fl'>3</span>,<span class='fl'>4</span>,<span class='fl'>5</span>))
<span class='fu'>mkin_wide_to_long</span>(<span class='no'>wide</span>)</div><div class='output co'>#&gt; name time value
#&gt; 1 x 1 1
#&gt; 2 x 2 4
#&gt; 3 x 3 7
#&gt; 4 y 1 3
#&gt; 5 y 2 4
-#&gt; 6 y 3 5</div></pre>
+#&gt; 6 y 3 5</div><div class='input'>
+</div></pre>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
<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