rbind.fill.matrix
: The matrices are bound together using their column names or the column indices (in that order of
precedence.) Numeric columns may be converted to character beforehand, e.g. using format. If a
matrix doesn't have colnames, the column number is used (via make.names(unique
= TRUE)
).Note that this means that a column with name "X1"
is merged with the first column of a
matrix without name and so on.
Vectors are converted to 1-column matrices prior to rbind.
Matrices of factors are not supported. (They are anyways quite inconvenient.) You may convert
them first to either numeric or character matrices. If a character matrix is merged with a
numeric, the result will be character.
Row names are ignored.
The return matrix will always have column names.
rbind.fill.matrix
: The matrices are bound together using their column names or the column indices (in that order of
precedence.) Numeric columns may be converted to character beforehand, e.g. using format. If a
matrix doesn't have colnames, the column number is used (via make.names(unique
= TRUE)
).
Note that this means that a column with name "X1"
is merged with the first column of a
matrix without name and so on.
Vectors are converted to 1-column matrices prior to rbind.
Matrices of factors are not supported. (They are anyways quite inconvenient.) You may convert
them first to either numeric or character matrices. If a character matrix is merged with a
numeric, the result will be character.
Row names are ignored.
The return matrix will always have column names.
rbind.fill
: This is an enhancement to rbind
which adds in columns
that are not present in all inputs, accepts a list of data frames, and
operates substantially faster