Coerces an nlist object to a data.frame with an term column and a value column.

# S3 method for class 'nlist'
as_term_frame(x, ...)

Arguments

x

An nlist object.

...

Unused.

Value

A data.frame.

See also

Examples

as_term_frame(nlist(x = 1, y = 4:6))
#>   term value
#> 1    x     1
#> 2 y[1]     4
#> 3 y[2]     5
#> 4 y[3]     6