| util_rbindlist {nhlapi} | R Documentation |
Safely rbind multiple data.frames
Description
Attempts to replace do.call(rbind, lst)
taking into consideration that some data frames in
lst can have missing columns. Those are filled by
NA values.
Usage
util_rbindlist(lst, fill = TRUE)
Arguments
lst |
|
fill |
|
Value
data.frame, the elements of lst, rbind-ed into one.
Examples
nhlapi:::util_rbindlist(list(
datasets::mtcars[1, 2:3],
datasets::mtcars[2, 4:5]
))
[Package nhlapi version 0.1.4 Index]