# NOT RUN {
nlists <- nlists(
nlist(a = 1, y = 3, x = 1:4),
nlist(a = 2, y = 4, x = 4:1),
nlist(a = 3, y = 6, x = 5:2)
)
subset(nlists)
subset(nlists, pars = "a")
subset(nlists, pars = c("x", "a"))
subset(nlists, iters = 1L)
subset(nlists, iters = c(2L, 2L))
# }
Run the code above in your browser using DataLab