smash: Smash a nested list into a tidy table.

Description Usage Arguments Value

View source: R/smash.R

Description

Smash a nested list into a tidy table.

Usage

1
smash(x, col.names = NULL, max.depth = Inf)

Arguments

x

List to smash.

max.depth

Maximum number of recursive levels to flatten.

Name

Name for column corresponding to each level.

Value

A data.table object.


SimonLarsen/smashr documentation built on Oct. 26, 2019, 4:17 a.m.