powered by
A convenience function converting a data.frame() or a tibble().
data.frame()
tibble()
rowlist(x)
A list() of length nrow(x), with each element itself a named list() containing the elements in the corresponding row.
list()
nrow(x)
a data.frame(), a tibble(), or some other table data structure backed by a list() of columns.
library(tibble) (df <- tibble(x=2:1, y=list(list(1:3), list(3:4)))) rowlist(df)
Run the code above in your browser using DataLab