From af7c6de4db9981ac814362c441fbac22c8faa2d7 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 24 Nov 2022 09:02:26 +0100 Subject: Start online docs of the development version --- docs/dev/reference/mkin_wide_to_long.html | 193 +++++++++++------------------- 1 file changed, 70 insertions(+), 123 deletions(-) (limited to 'docs/dev/reference/mkin_wide_to_long.html') diff --git a/docs/dev/reference/mkin_wide_to_long.html b/docs/dev/reference/mkin_wide_to_long.html index f2bf00c1..fb23d3dc 100644 --- a/docs/dev/reference/mkin_wide_to_long.html +++ b/docs/dev/reference/mkin_wide_to_long.html @@ -1,69 +1,14 @@ - - - - - - - -Convert a dataframe with observations over time into long format — mkin_wide_to_long • mkin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Convert a dataframe with observations over time into long format — mkin_wide_to_long • mkin - - - - - - - - - - - + + - - -
-
- -
- -
+

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.

+mkinfit.

-
mkin_wide_to_long(wide_data, time = "t")
+
+
mkin_wide_to_long(wide_data, time = "t")
+
-

Arguments

- - - - - - - - - - -
wide_data

The dataframe must contain one variable with the time +

+

Arguments

+
wide_data
+

The dataframe must contain one variable with the time values specified by the time argument and usually more than one -column of observed values.

time

The name of the time variable.

+column of observed values.

+ -

Value

+
time
+

The name of the time variable.

-

Dataframe in long format as needed for mkinfit.

-

Author

+
+
+

Value

+ +

Dataframe in long format as needed for mkinfit.

+
+
+

Author

Johannes Ranke

+
-

Examples

-
-wide <- data.frame(t = c(1,2,3), x = c(1,4,7), y = c(3,4,5)) -mkin_wide_to_long(wide) -
#> name time value -#> 1 x 1 1 -#> 2 x 2 4 -#> 3 x 3 7 -#> 4 y 1 3 -#> 5 y 2 4 -#> 6 y 3 5
-
+
+

Examples

+

+wide <- data.frame(t = c(1,2,3), x = c(1,4,7), y = c(3,4,5))
+mkin_wide_to_long(wide)
+#>   name time value
+#> 1    x    1     1
+#> 2    x    2     4
+#> 3    x    3     7
+#> 4    y    1     3
+#> 5    y    2     4
+#> 6    y    3     5
+
+
+
+
- - - + + -- cgit v1.2.1