R/utils.R
named_vector_to_data_frame.Rd
Convert a Named Vector to a Data Frame
named_vector_to_data_frame(x)
named vector
data frame with columns name, containing the names of x and value, containing the values of x
name
x
value
kwb.pathdict:::named_vector_to_data_frame(c(a = 1, b = 2, c = 3))#> name value #> 1 a 1 #> 2 b 2 #> 3 c 3