View source: R/dataInitialization.R
namedNumericToTable | R Documentation |
This function converts a named numeric vector to a table.
namedNumericToTable(x)
x |
A named numeric vector. |
A table with the same names and values as the input vector.
# Convert a named numeric vector to a table
vec <- c(a = 1, b = 2, c = 3)
namedNumericToTable(vec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.