build_zero_row_tibble: Function to create a zero row tibble, usually for...

View source: R/build_zero_row_tibble.R

build_zero_row_tibbleR Documentation

Function to create a zero row tibble, usually for pre-allocation of values.

Description

Function to create a zero row tibble, usually for pre-allocation of values.

Usage

build_zero_row_tibble(names, base = FALSE)

Arguments

names

Vector of names for the tibble.

base

Despite the function's name, should a base data.frame be returned rather than a tibble?

Value

Tibble with names and zero rows.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on April 15, 2024, 9:35 p.m.