This function takes a named vector and convert it to a list with keys named after the vector's names.

nv_to_list(nc)

Arguments

nc

A named vector

Value

A list with keys matching nc names