cbinds | R Documentation |
Combine two data.frame by columns by filling in missing rows from each other based on rownames
.
cbinds(F1, F2, fill = 0)
F1 |
data.frame. |
F2 |
data.frame. |
fill |
character/numeric. Default 0 |
a combined data.frame
F1 = data.frame(A = seq(10), B = seq(10), row.names = seq(10)) F2 = data.frame(C = seq(5), D = seq(5), row.names = 3:7) cbinds(F1, F2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.