View source: R/asAntaresDataTable.R
as.antaresDataTable | R Documentation |
This function converts a data.frame
or a data.table
into an
antaresDataTable
object.
An antaresDataTable
is simply a data.table
with additional
attributes recording the time step, the type of data and the simulation
options.
as.antaresDataTable(x, ...)
## S3 method for class 'data.frame'
as.antaresDataTable(x, synthesis, timeStep, type, opts = simOptions(), ...)
x |
object to convert to a an |
... |
Arguments to be passed to methods. |
synthesis |
Does the table contain synthetic results ? |
timeStep |
Time step of the data. One of "hourly", "daily", "weekly", "monthly" or "annual". |
type |
type of data: for instance "areas", "links", "clusters", etc. |
opts |
Simulation options. |
antaresDataTable
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.