unlist.nlist {nlist} | R Documentation |
Flatten nlist Object
Description
Flatten nlist Object
Usage
## S3 method for class 'nlist'
unlist(x, recursive = TRUE, use.names = TRUE)
Arguments
x |
An nlist object. |
recursive |
Ignored. |
use.names |
A flag specifying whether to preserve names. |
Value
A named numeric vector of the values in x.
See Also
Examples
unlist(nlist(y = 2, x = matrix(4:7, ncol = 2)))
[Package nlist version 0.3.3 Index]