as.list.iface: Cast an 'iface' to a plain list.

View source: R/iface-class.R

as.list.ifaceR 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)

interfacer documentation built on April 4, 2025, 6:13 a.m.