From 8b7edd4eaf0d196e674a085f744d1a69260a6c91 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 16 Nov 2023 06:02:05 +0100 Subject: Update pkgdown docs to bootstrap 5 with search --- docs/reference/mkin_long_to_wide.html | 196 ++++++++++++++-------------------- 1 file changed, 80 insertions(+), 116 deletions(-) (limited to 'docs/reference/mkin_long_to_wide.html') diff --git a/docs/reference/mkin_long_to_wide.html b/docs/reference/mkin_long_to_wide.html index 9e1487bd..5c1f9c09 100644 --- a/docs/reference/mkin_long_to_wide.html +++ b/docs/reference/mkin_long_to_wide.html @@ -1,127 +1,95 @@ -Convert a dataframe from long to wide format — mkin_long_to_wide • mkinConvert a dataframe from long to wide format — mkin_long_to_wide • mkin + + Skip to contents -
-
-
- + + +
+
+
+
-
+

This function takes a dataframe in the long form, i.e. with a row for each observed value, and converts it into a dataframe with one independent variable and several dependent variables as columns.

-
+
+

Usage

mkin_long_to_wide(long_data, time = "time", outtime = "time")
-
-

Arguments

+
+

Arguments

long_data

The dataframe must contain one variable called "time" with the time values specified by the time argument, one column called @@ -137,19 +105,19 @@ observed values called "value".

The name of the time variable in the wide output data.

-
-

Value

+
+

Value

Dataframe in wide format.

-
-

Author

+
+

Author

Johannes Ranke

-
-

Examples

+
+

Examples


 mkin_long_to_wide(FOCUS_2006_D)
 #>    time parent    m1
@@ -178,26 +146,22 @@ observed values called "value".

-
- -
+
-
- -- cgit v1.2.1