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.nabble.com/Replace-many-rows-in-a-table-with-new-rows-in-one-step-tp25819016p25819016.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to