Skip to content
Prev 374390 / 398530 Next

how can I convert a long to wide matrix?

Hi Jim,
The data set is correct. I took two readings from the "SITE A" within a
short time interval, therefore I want to take the first value if there are
repeated within a same group of "timeGroup".
Therefore I wanted following

FinalData1
         B1    B2
id_X   "A"   "B"
id_Y   "A"   "B"

thanks,
On Tue, May 1, 2018 at 4:05 PM, Jim Lemon <drjimlemon at gmail.com> wrote: