[R] Scaling data
Dry, Jonathan R
Jonathan.Dry at astrazeneca.com
Wed Sep 30 18:18:12 CEST 2009
Hello all
I am manipulating some data and wish to expand/unmerge (i.e. do the opposite of aggregate) rows in a data matrix based on the values in a particular column and a seperator, e.g.
Col1 Col2
n1;n2 6
...separating by ";" becomes....
Col1 Col2
num1 6
num2 6
Any ideas?
Also can I do this based on values in two columns? EG:
Col1 Col2 Col3
n1;n2 ID1;ID2 6
...becomes....
Col1 Col2 Col3
n1 ID1 6
n2 ID2 6
?
--------------------------------------------------------------------------
AstraZeneca UK Limited is a company incorporated in Engl...{{dropped:21}}
More information about the R-help
mailing list