Description Usage Arguments Details Value Author(s)
cbindSafe() concatenates columns of arguments after ensuring same rows are present.
1 |
... |
two or more objects such as matrices, data.frames, arrays or vectors to concatenate along the second dimension (adding columns) |
cbindSafe finds the union of (row) names of the objects. It puts
the rows in common in the same order and applies cbind
,
then adds the rows unique to one object or the other, with missing values
for the object where the row is missing.
Returns an object of the same class as the inputs (coerced to the same class if they differ) with additional columns, and the union of the rows.
M.W.Rowe, mwr.stats@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.