Description Usage Arguments Value Examples
as.data.table
converts the input object to
data.table
, but strips away all other classes except
data.table
and data.frame
.
This internal function is a simple wrapper to as.data.table
but
also retains the extra class information of the input object.
1 | as_data_table(x, reset_class = FALSE)
|
x |
An object that inherits from |
reset_class |
logical (default |
A data.table object with input class preserved.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.