fastCbind | R Documentation |
Helper to combine by columns
fastCbind(obj1, obj2, add_id = FALSE)
obj1 |
an object either a data.frame, a list or something coercible to numeric matrix. |
obj2 |
an object either a data.frame, a list or something coercible to numeric matrix. |
add_id |
a bool determining if 1st column of returned object should be given 1 to nrow integers |
if obj1 or obj2 is a data.frame returned object will inherit class of obj1 or obj2 respectively in this order. /!\ if obj1 or obj2 needs to be coerced take care that it can not handle factor during object coercion
a combined object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.