Description Usage Arguments Value Author(s) Examples
View source: R/mkin_wide_to_long.R
This function simply takes a dataframe with one independent variable and several
dependent variable and converts it into the long form as required by modCost
.
1 | mkin_wide_to_long(wide_data, time = "t")
|
wide_data |
The dataframe must contain one variable with the time values specified by the
|
time |
The name of the time variable. |
Dataframe in long format as needed for modCost
.
Johannes Ranke
1 2 | wide <- data.frame(t = c(1,2,3), x = c(1,4,7), y = c(3,4,5))
mkin_wide_to_long(wide)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.