View source: R/namedVectorToDataFrame.R
namedVectorToDataFrame | R Documentation |
Convert a Named Vector to a Data Frame
namedVectorToDataFrame(x)
x |
named vector |
data frame with columns name
, containing the names of x
and value
, containing the values of x
namedVectorToDataFrame(c(a = 1, b = 2, c = 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.