Fast data frame constructors
new_df(..., .nrows = NULL, .recycle = FALSE, .name_repair = FALSE)as_df(x)
fast_df(...)
A data.frame
Key-value pairs.
[integer(1)]
- (Optional) number of rows.
Commonly used to initialise a 0-column data frame with rows.
[logical(1)]
- Should arguments be recycled?
Default is FALSE
.
[logical(1)]
- Should duplicate names be made unique?
Default is FALSE
.
An object to coerce to a data.frame
.
fast_df()
is a very fast bare-bones version of new_df()
that
performs no checks and no recycling or name tidying.
All variables must be named and of equal length.