fastCbind {IFC}R Documentation

Combine by Columns

Description

Helper to combine by columns

Usage

fastCbind(obj1, obj2, add_id = FALSE)

Arguments

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

Details

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

Value

a combined object


[Package IFC version 0.2.1 Index]