vector2df: Vector to data.frame

View source: R/dataframes.R

vector2dfR Documentation

Vector to data.frame

Description

Transforms a vector (named) to a data.frame

Usage

vector2df(x, name = "name", value = "value", show_NA)

Arguments

x

A vector of values.

name, value

Character strings for the name and value columns

show_NA

Ignored; will trigger a warning if set

Value

A data.frame with name (optional) and value columns


mark documentation built on May 29, 2024, 5:13 a.m.