data_frame: Alternative to data.frame

Description Usage Arguments Value

View source: R/utils.R

Description

* Sets stringsAsFactors to FALSE by default * If any columns have zero length, the result will have zero rows. * If a column is a scalar, then it will be recycled. * Non-matching number of rows gives an error, except for lengths zero and one.

Usage

1
data_frame(..., stringsAsFactors = FALSE)

Arguments

...

Named data frame columns, or data frames.

stringsAsFactors

Just leave it on FALSE. :)

Value

Data frame.


MangoTheCat/functionMap documentation built on May 7, 2019, 2:10 p.m.