vec2df: Create a one-row data frame from a vector of values

View source: R/utils-vec2df.R

vec2dfR Documentation

Create a one-row data frame from a vector of values

Description

Create a one-row data frame from a vector of values

Usage

vec2df(vec, nms = NULL)

Arguments

vec

A vector

nms

Optional column names for the new data frame

Details

If nms is not given, the names of the vector (if vec is a named vector) will be used for the column names

Value

A one row tibble::tibble()


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.