View source: R/asAntaresDataList.R
as.antaresDataList | R Documentation |
This function converts a list of tables or table into an
antaresDataList
object.
An antaresDataList
is a list of tables of classantaresDataTable
.
It also has attributes that store the time step, the type of data and the
simulation options.
as.antaresDataList(x, ...)
## S3 method for class 'antaresDataTable'
as.antaresDataList(x, name = NULL, ...)
## S3 method for class 'data.frame'
as.antaresDataList(
x,
synthesis,
timeStep,
type,
opts = simOptions(),
name = type,
...
)
x |
Data.frame or data.table to convert to a an antaresDataTable. |
... |
Arguments to be passed to methods. |
name |
name of the table in the final object. If |
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. |
antaresDataList
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.