The following code combines a vector with a data frame:
newrow = c(1:4)
existingDF = rbind(existingDF,newrow)
However, this code always inserts the new row at the end of the data frame.
How can I insert the row at a specified point within the data frame? For example, let's say the data frame has 20 rows, how can I insert the new row between rows 10 and 11?