Learn R Programming

nlist (version 0.4.0)

as_term_frame.nlists: Coerce nlists Object to Data Frame

Description

Coerces an nlists object to a data.frame with a term, sample and value column.

Usage

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

Value

A data.frame.

Arguments

x

An nlists object.

...

Unused.

See Also

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

Examples

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

Run the code above in your browser using DataLab