reshape.long {agce} | R Documentation |
reshape.long(data, time)
data |
The data matrix or data frame, where the first column correspond to the group ids, the second to the animal ids, the remaining columns are the measurements at each time. |
time |
A vector of numeric values corresponding to the time points at which the measurements were effectued. |
The reshaped data.
Raphael Gottardo
data(Bt20) long.data<-reshape.long(Bt20,c(0,3,7,10,14,16))