
I have a table like this:

Date TIME  Q

A     a    1
A     b    2
A     c    3  
B     a    4
B     b    5
B     c    6
C     a    7
C     b    8
C     c    9

I want use R language to turn it to a matrix like :
    a  b  c 
A  1  2  3
B  4  5  6
C  7  8  9


I am new to R , anyone can help? Thanks in advance! have a table like this:

Date TIME  Q

A     a    1
A     b    2
A     c    3  
B     a    4
B     b    5
B     c    6


______________________________________
This email was sent by JESSICA (via Nabble)
Your replies will appear at http://r.789695.n4.nabble.com/from-table-to-matrix-tp3087972p3087972.html
To receive all replies by email, subscribe to this discussion: http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=subscribe_by_code&node=3087972&code=ci1oZWxwQHItcHJvamVjdC5vcmd8MzA4Nzk3MnwtNzg0MjM1NTA4

	[[alternative HTML version deleted]]

