Make columns for time 0 and time T
create0Tcolumns( XvV, time_colname, X_colname = "X", v_colname = "v", V_colname = "V", zero_suffix = "_0", T_suffix = "_T" )
| XvV | a data frame containing |
|---|---|
| time_colname | the name of the time column (a string) |
| X_colname | the name of the |
| v_colname | the name of the |
| V_colname | the name of the |
| zero_suffix | suffix for " |
| T_suffix | suffix for " |
a data frame containing metadata (time_colname and grouping variables)
and columns for X_0, v_0, V_0, X_T, v_T, and V_T.