mkin_long_to_wide.Rd
This function takes a dataframe in the long form as required by modCost
and converts it into a dataframe with one independent variable and several
dependent variables as columns.
mkin_long_to_wide(long_data, time = "time", outtime = "time")
long_data | The dataframe must contain one variable called "time" with the time values specified by the
|
---|---|
time | The name of the time variable in the long input data. |
outtime | The name of the time variable in the wide output data. |
Dataframe in wide format.
mkin_long_to_wide(FOCUS_2006_D)#> Error in mkin_long_to_wide(FOCUS_2006_D): konnte Funktion "mkin_long_to_wide" nicht finden