tableToNumeric {FastUtils}R Documentation

Convert a Table to Numeric

Description

This function converts a table to a numeric vector.

Usage

tableToNumeric(x)

Arguments

x

A table to be converted.

Value

A numeric vector with names preserved from the table.

Examples

# Convert a table to numeric
tbl <- table(c("a", "b", "a"))
tableToNumeric(tbl)

[Package FastUtils version 0.1.1 Index]