Skip to content
Prev 287405 / 398498 Next

Help on reshape function

Just using the reshape() function in base R:

df.long = reshape(df, varying=list(names(df)[4:7]), direction="long")

This also gives two extra columns ("time" and "id") can can be dropped.

Andy
64p4449464.html
Notice:  This e-mail message, together with any attachme...{{dropped:11}}