Re: [R] concatenate 2 column vectors

2010-01-20 Thread teurlai magali
catenate 2 column vectors À: "teurlai magali" Cc: "Henrique Dallazuanna" , r-help@r-project.org Date: Jeudi 21 Janvier 2010, 5h23 Hi Magali,   I confess that I still not figured out what you want, but try this:   datatry2=transform(datatry,DIS=as.numeric(as.character(pas

Re: [R] concatenate 2 column vectors

2010-01-20 Thread teurlai magali
ollapse". i'll try to see other options to concatenate 2 numeric values into a third one. Thanks --- En date de : Jeu 21.1.10, Henrique Dallazuanna a écrit : De: Henrique Dallazuanna Objet: Re: [R] (no subject) À: "teurlai magali" Cc: r-help@r-project.org Date: Jeudi 21 Jan

[R] (no subject)

2010-01-20 Thread teurlai magali
Hi is there a way in R to create a new column vector with the numbers of 2 others columns simply appended? Example : I have a column with provinces codes (1 to 19) I have a second column with districts codes (1 to ##, depending on the province) I want to create a third column with a code that wo