relist_nlist | R Documentation |
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)
flesh |
An atomic vector |
skeleton |
An nlist object. |
A numeric vector of the values in x.
as_nlist.numeric()
and unlist_nlist()
relist_nlist(c(`a[2]` = 5), nlist(a = 1:3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.