View source: R/s3-data.table.R
opts_data.table | R Documentation |
These options will be used on objects of class 'data.table'.
opts_data.table(
constructor = c("data.table", "next", "list"),
...,
selfref = FALSE,
recycle = TRUE
)
constructor |
String. Name of the function used to construct the object, see Details section. |
... |
Additional options used by user defined constructors through the |
selfref |
Boolean. Whether to include the |
recycle |
Boolean. Whether to recycle scalars to compress the output. |
Depending on constructor
, we construct the object as follows:
"data.table"
(default): Wrap the column definitions in a data.table()
call.
"next"
: Use the constructor for the next supported class. Call .class2()
on the object to see in which order the methods will be tried.
"list"
: Use list()
and treat the class as a regular attribute.
An object of class <constructive_options/constructive_options_data.table>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.