Re: [R] Re place many rows in a table with new rows in one step

2009-10-09 Thread David Winsemius
On Oct 9, 2009, at 6:42 AM, Zhen Lin wrote: I tried this: (c is the column vector with indices of those rows I want to replace) table[c,]<-replace(table[c,],c,newRows) but it does not work and the error is: new columns would leave holes after existing columns replace() is supposed to work

[R] Re place many rows in a table with new rows in one step

2009-10-09 Thread Zhen Lin
I tried this: (c is the column vector with indices of those rows I want to replace) table[c,]<-replace(table[c,],c,newRows) but it does not work and the error is: new columns would leave holes after existing columns Can anyone help please? Thanks -- View this message in context: http://www.n