Coerce to a Term Vector

# S3 method for class 'nlists'
as_term(x, ...)

Arguments

x

An object.

...

Unused.

Examples

as_term(nlists(nlist(x = matrix(1:4, ncol = 2))))
#> <term[4]>
#> [1] x[1,1] x[2,1] x[1,2] x[2,2]