Skip to content
Prev 65516 / 398506 Next

Faster way of binding multiple rows of data than rbind?

Ken Termiso wrote:
The indexing operations in R are very flexible.  You can do this in a 
single operation as

output <- bigMatrix[keepRows, ]