Adds row(s) to a dataframe.
addRow(targetDataframe, value)# S4 method for data.frame
addRow(targetDataframe, value)
Dataframe.
Dataframe, character string vector, or list. Columns in value should be a subset of columns in targetDataframe.
A dataframe with new rows.
Preserves the types and factor levels of the targetDataframe. Fills missing values if possible using factor levels. If value is a named vector or list, it will be converted to a single row dataframe. If value is an unnamed vector or list, the number of elements should equal the number of columns in the targetDataframe; elements are assumed to be in same order as dataframe columns.