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 data.frame
as.antaresDataTable(x, synthesis, timeStep, type, opts = simOptions(), ...)
object to convert to a an antaresDataList.
Arguments to be passed to methods.
Does the table contain synthetic results ?
Time step of the data. One of "hourly", "daily", "weekly", "monthly" or "annual".
type of data: for instance "areas", "links", "clusters", etc.
Simulation options.
antaresDataTable object.