Displaying 1 result from an estimated 1 matches for "x3dec08".
Did you mean:
x1dec08
2009 Jul 27
2
Split rownames into factors
Hi Guys,
I was wondering how you would go about solving the following problem:
I have a list where the grouping information is in the row names.
Rowname [,1]
X1Jan08 324
X1Jun08 65
X1Dec08 543
X2Jan08 23
X2Jun08 54
X2Dec08 8765
X3Jan08 213
X3Jun08 43
X3Dec08 65
How can I create the following dataframe:
Value Date Group
[1,] 324 Jan 08 X1
[2,] 65 Jun 08 X1
[3,] 543 Dec 08 X1
etc.................
Thanks for your help!
James
--
View this message in context: http://www.nabble.com/Split-rownames-into-factors-tp2...