namedNumericToTable {FastUtils}R Documentation

Convert Named Numeric Vector to Table

Description

This function converts a named numeric vector to a table.

Usage

namedNumericToTable(x)

Arguments

x

A named numeric vector.

Value

A table with the same names and values as the input vector.

Examples

# Convert a named numeric vector to a table
vec <- c(a = 1, b = 2, c = 3)
namedNumericToTable(vec)

[Package FastUtils version 0.1.1 Index]