View source: R/check-input-helpers.R
ensure_data.table | R Documentation |
data.table
This function ensures that an object is a data table
.
If the object is not a data table, it is converted to one. If the object
is a data table, a copy of the object is returned.
ensure_data.table(data)
data |
An object to ensure is a data table. |
A data.table/a copy of an existing data.table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.