Learn R Programming

nlist (version 0.4.0)

as_term_frame.nlist: Coerce nlist Object to Data Frame

Description

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

Usage

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

Value

A data.frame.

Arguments

x

An nlist object.

...

Unused.

See Also

Other coerce term: as_term.mcmc(), as_term.nlist(), as_term.nlists(), as_term_frame(), as_term_frame.nlists()

Examples

Run this code
as_term_frame(nlist(x = 1, y = 4:6))

Run the code above in your browser using DataLab