Learn R Programming

nlist (version 0.4.0)

tidy.nlists: Turn an object into a tidy tibble

Description

Turn an object into a tidy tibble

Usage

# S3 method for nlists
tidy(x, simplify = FALSE, ...)

Value

A tibble::tibble() with information about model components.

Arguments

x

An object.

simplify

A flag specifying whether to drop sd and zscore columns.

...

Unused.

Methods

generics:::methods_rd("tidy")

Examples

Run this code
tidy(nlists(
  nlist(x = 1, y = 4:6),
  nlist(x = 3, y = 7:9)
), simplify = TRUE)

Run the code above in your browser using DataLab