df.init: Initiate an empty data frame

View source: R/skUtils.R

df.initR Documentation

Initiate an empty data frame

Description

Initiate an empty data frame

Usage

df.init(x, nrow = 0)

Arguments

x

A character vector of column names.

nrow

Number of rows (defaults to 0).

Value

A data.frame filled with NA.

Author(s)

Sercan Kahveci

Examples

test <- df.init(c("A","B","C"))


Spiritspeak/skMisc documentation built on April 12, 2025, 5:40 a.m.