Converting a dataframe to a vector (by rows)

Posted by mortalitysequence on Stack Overflow See other posts from Stack Overflow or by mortalitysequence
Published on 2010-03-30T12:48:04Z Indexed on 2010/03/30 12:53 UTC
Read the original article Hit count: 272

Filed under:
|
|

I have a dataframe with numeric entries like this one

test <- data.frame(x=c(26,21,20),y=c(34,29,28))

How can I get the following vector?

> 26,34,21,29,20,28

© Stack Overflow or respective owner

Related posts about r

    Related posts about dataframe