new_df {cheapr}R Documentation

Fast data frame constructor

Description

Fast data frame constructor

Usage

new_df(..., .nrows = NULL, .recycle = FALSE, .name_repair = FALSE)

Arguments

...

Key-value pairs.

.nrows

integer(1) (Optional) number of rows.
Commonly used to initialise a 0-column data frame with rows.

.recycle

logical(1) Should arguments be recycled? Default is FALSE.

.name_repair

logical(1) Should duplicate names be made unique? Default is FALSE.

Value

A data.frame


[Package cheapr version 0.9.91 Index]