Take a sequence of vector, matrix or data-frame arguments and combine by rows
Description
Take a sequence of vector, matrix or data-frame arguments and combine by rows, respectively. These are generic functions with methods for other R classes.
rbind(..., deparse.level = 1)
S3 method for class 'data.frame'
rbind(..., deparse.level = 1, make.row.names = TRUE) Arguments
... (generalized) vectors or matrices. These can be given as named arguments. Other R objects may be coerced as appropriate, or S4 methods may be used: see sections ‘Details’ and ‘Value’. (For the "data.frame" method of cbind these can be further arguments to data.frame such as stringsAsFactors.)
deparse.level
integer controlling the construction of labels in the case of non-matrix-like arguments (for the default method):
deparse.level = 0 constructs no labels; the default,
deparse.level = 1 or 2 constructs labels from the argument names, see the ‘Value’ section below.
make.row.names
(only for data frame method:) logical indicating if unique and valid row.names should be constructed from the arguments.
Details
The functions cbind and rbind are S3 generic, with methods for data frames. The data frame method will be used if at least one argument is a data frame and the rest are vectors or matrices.