Learn R Programming

mark (version 0.8.1)

vector2df: Vector to data.frame

Description

Transforms a vector (named) to a data.frame

Usage

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

Value

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

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