R/unlist-nlist.R
unlist_nlist.Rd
Simplifies an nlist object to an named numeric vector where the names are the terms.
unlist_nlist(x)
An nlist object.
A named numeric vector of the values in x.
as_nlist.numeric() and relist_nlist()
as_nlist.numeric()
relist_nlist()
unlist_nlist(nlist(y = 2, x = matrix(4:7, ncol = 2))) #> y x[1,1] x[2,1] x[1,2] x[2,2] #> 2 4 5 6 7