as.list.iface {interfacer}R Documentation

Cast an iface to a plain list.

Description

Cast an iface to a plain list.

Usage

## S3 method for class 'iface'
as.list(x, ..., flatten = FALSE)

Arguments

x

object to be coerced or tested.

...

objects, possibly named.

flatten

get a list of lists representation instead of the dataframe column by column list.

Value

a list representation of the iface input.

Examples

my_iface = iface( 
  col1 = integer + group_unique ~ "an integer column"
)

as.list(my_iface, flatten=TRUE)

[Package interfacer version 0.2.3 Index]