R/tmbutils.R
v2d.Rd
Convert a named vector to a data frame with two columns, one for the names and one for the values.
v2d(x, values_col = NULL, names_col = "names")
named vector
name of the values column -- the default takes a guess
name of the names column