I need to convert a multi-row two-column data.frame to a named character vector. My data.frame would be something like:
data.frame
dd = data.
You can also use deframe(x) from the tibble package for this.
tibble::deframe()
It converts the first column to names and second column to values.