name2list.Rd
Main usage is extracting named parameters returned by e.g., optim
optim
name2list(x)
a named vector
x <- c(a = 1, b = 2) name2list(x) #> $a #> [1] 1 #> #> $b #> [1] 2 #>