empty_df: Create a placeholder NA-filled data.frame

View source: R/empty_df.R

empty_dfR Documentation

Create a placeholder NA-filled data.frame

Description

Create a placeholder NA-filled data.frame

Usage

empty_df(nrow, ncol)

Arguments

nrow, ncol

the number of rows and columns for the data.frame

Value

an nrow by ncol data.frame of NAs.

Examples

d <- empty_df(3, 2)
print(d)


jgabry/RHhelpers documentation built on Feb. 22, 2024, 12:56 p.m.