tidy.nlists: Turn an object into a tidy tibble

Description Usage Arguments Value Methods Examples

View source: R/tidy.R

Description

Turn an object into a tidy tibble

Usage

1
2
## S3 method for class 'nlists'
tidy(x, simplify = FALSE, ...)

Arguments

x

An object.

simplify

A flag specifying whether to drop sd and zscore columns.

...

Unused.

Value

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

Methods

\Sexpr[stage=render,results=rd]{generics:::methods_rd("tidy")}

Examples

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

nlist documentation built on Sept. 5, 2021, 6:05 p.m.