Tuesday, 15 May 2012

r - How to add multiple columns into single column or list -



r - How to add multiple columns into single column or list -

i have 21 columns of numerical info i'd collect single, long column. how can accomplish easily?

see apply.

you this:

vector <- apply(data, 2, c)

vector columns of info joined c function

r

No comments:

Post a Comment