[R] Explanation w.r.t. rbind, please!

Uwe Dippel udippel at uniten.edu.my
Fri Jan 29 15:32:52 CET 2010


Meyners,Michael,LAUSANNE,AppliedMathematics wrote:
> What you (probably) want here is
> num.mat ["seq",]
>
>   
>>  > num.mat [num.vec]
>> [1] NA NA NA NA   
>>     
>
> num.mat["num.vec",]
>
> and so on. You have to use tell R that you want the ROW (that's why the
> comma is needed) defined by the NAME "seq" or "num.vec" (that's why you
> need "") .

Thanks, I had been exactly there before, and it didn't work neither. Now 
it works. I do understand the need for the rows *now*.

Uwe



More information about the R-help mailing list