Skip to contents

Transforms a vector (named) to a data.frame

Usage

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

Arguments

x

A vector of values.

name, value

Character strings for the name and value columns

Value

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