Convert an object to list with identical structure

Share:

Description

This functions are similiar to rlist::list.parse but this removes names.

Usage

1
2
3
4
5
6
7

Arguments

df

A data frame to parse to list

Examples

1
2
3
4
5
x <- data.frame(a=1:3, type=c('A','C','B'), stringsAsFactors = FALSE)

list_parse(x)

list_parse2(x)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.