reformat {interep} | R Documentation |
This function changes the format of the longitudinal data from wide format to long format
reformat(k, y, x)
k |
the number of repeated measurement. |
y |
the longitudinal response. |
x |
a matrix of predictors, consisting of omics and environment factors, as well as their interactions. In the case study, the omics measurements are lipidomics data. |