# NOT RUN {
library(nlist)
nterms(nlist(x = 2))
nterms(nlist(x = NA_real_))
nterms(nlist(x = 3, zz = matrix(2:5, 2)))
nterms(nlists(
nlist(y = 3, zz = matrix(2:5, 2)),
nlist(y = 5, zz = matrix(1:4, 2))
))
# }
Run the code above in your browser using DataLab