R: Convert a tibble to a list of lists

tibble_as_list {dynutils} | R Documentation

## Convert a tibble to a list of lists

### Description

Convert a tibble to a list of lists

### Usage

    tibble_as_list(tib)

### Arguments

`tib` | A tibble

### Value

A list with the same number of lists as there were rows in `tib`

### See Also

list_as_tibble extract_row_to_list mapdf

### Examples

    library(tibble)

    tib <- tibble(
      a = c(1, 2),
      b = list(log10, sqrt),
      c = c("parrot", "quest"),
      .object_class = list(c("myobject", "list"), c("yourobject", "list"))
    )

    li <- tibble_as_list(tib)

    li

[Package dynutils version 1.0.5 Index]