powered by
Relists an nlist object that has been unlisted to a named numeric vector. Ensures absent terms are included and preserves integer class.
relist_nlist(flesh, skeleton)
An atomic vector
An nlist object.
An atomic numeric vector of the values in x.
as.nlist.numeric() and unlist_nlist()
as.nlist.numeric()
unlist_nlist()
# NOT RUN { relist_nlist(c(`a[2]` = 5), nlist(a = 1:3)) # }
Run the code above in your browser using DataLab