[R] convert table to a string in matrix

2011-12-04 Thread Philipp Chapkovski
Hello everybody! I need help in collecting the information about Russian elections. There is a table at the web-site http://www.moscow_city.vybory.izbirkom.ru/region/region/moscow_city?action=show&root=774003008&tvd=477400389537&vrn=100100028713299®ion=77&global=true&sub_region=77&prver=0&pronetvd

Re: [R] convert table to list

2009-03-31 Thread herwig
Thanks a lot, Problem solved, Herwig :-D -- View this message in context: http://www.nabble.com/convert-table-to-list-tp22810143p22815557.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://sta

Re: [R] convert table to list

2009-03-31 Thread Peter Alspach
Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of herwig > Sent: Wednesday, 1 April 2009 9:03 a.m. > To: r-help@r-project.org > Subject: [R] convert table to list > > > Hi there, > > This is probably a rather si

[R] convert table to list

2009-03-31 Thread herwig
Hi there, This is probably a rather simple question - but I was not able to solve it so far. I would like to convert the following table: A B C D x 10 20 30 40 y 11 21 31 41 z 12 32 42 to a list with three columns like: A x 10 A y 11 A z 12 B x 20 . . . Any hints how do do t

Re: [R] convert table

2007-12-17 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: >> I have a table like this: >> >> coor v1 v2 v3 >> x1 12 33 123 >> x2 1 123 >> x3 12 >> x4 33 1 >> >> and I'd like to tranform this matrix in presence/absence data.frame >> >> coor 1 12 33 123 >> x1 0 1 1 1 >> x2 1 0 0 1 >>

Re: [R] convert table

2007-12-17 Thread Richard . Cotton
> I have a table like this: > > coor v1 v2 v3 > x1 12 33 123 > x2 1 123 > x3 12 > x4 33 1 > > and I'd like to tranform this matrix in presence/absence data.frame > > coor 1 12 33 123 > x1 0 1 1 1 > x2 1 0 0 1 > x3 0 1 0 0 > x4 1 0 1

[R] convert table

2007-12-17 Thread giovanni bacaro
Dear R user, a very simple question: I have a table like this: coorv1 v2 v3 x1 12 33 123 x2 1 123 x3 12 x4 33 1 and I'd like to tranform this matrix in presence/absence data.frame coor1 12 33 123 x1 0