Displaying 1 result from an estimated 1 matches for "redata".
Did you mean:
medata
2007 Jul 13
1
help with handling replicates before reshaping data
...-1.08035660
23 23 1 dlfg 0.93124685
24 23 1 acdf -0.78737514
25 23 1 cdsv -1.56315904
26 23 2 acdf -2.30913270
27 23 2 cdsv -1.64583577
28 23 2 dlfg 1.87435485
29 23 2 acdf -1.99671825
30 23 2 cdsv 0.62995993
> redata<-reshape(data,idvar=c("day","seq"),timevar="patient",direction="wide")
The reshaped data has only three sequences for each day and didn't take into account the value of the second replicate.
>
> redata
day seq y...