Learn R Programming

constructive (version 1.1.0)

opts_vctrs_list_of: Constructive options for class 'data.table'

Description

These options will be used on objects of class 'data.table'.

Usage

opts_vctrs_list_of(constructor = c("list_of", "next", "list"), ...)

Value

An object of class <constructive_options/constructive_options_vctrs_list_of>

Arguments

constructor

String. Name of the function used to construct the object, see Details section.

...

Additional options used by user defined constructors through the opts object

Details

Depending on constructor, we construct the object as follows:

  • "list_of" (default): Wrap the column definitions in a list_of() call.

  • "list" : Use list() and treat the class as a regular attribute.