Displaying 1 result from an estimated 1 matches for "rbinlist".
Did you mean:
rbindlist
2013 Sep 18
1
rbinlist for data.table and specifying the column class
hello,
This
rbindlist(list(list(a=NA,b=NA),list(a=20,b=FALSE)))
returns
a b
1: NA NA
2: TRUE FALSE
as per the documentation ?rbindlist
is there a way to specify the column class of 'a' to be numeric?
In actual usage, i wont be able to re-order the 2nd list entry to be the
first.
I did try