| rowlist {egor} | R Documentation |
Convert a table to a list of rows
Description
A convenience function converting a data.frame() or a tibble().
Usage
rowlist(x)
Arguments
x |
a |
Value
A list() of length nrow(x), with each element itself a
named list() containing the elements in the corresponding
row.
Examples
library(tibble)
(df <- tibble(x=2:1, y=list(list(1:3), list(3:4))))
rowlist(df)
[Package egor version 1.24.2 Index]