resultToList {simplace}R Documentation

Convert result to list

Description

Converts all scalar output columns to appropriate R lists. Columns containing arrays are left unchanged, unless expand is TRUE.

Usage

resultToList(result, expand = FALSE, from = NULL, to = NULL)

Arguments

result

handle to the data container returned by getResult

expand

if true columns with arrays are partially expanded

from

start of the result range, if to/from are not set, full result is returned

to

end of the result range, if to/from are not set, full result is returned

Value

list with output columns

See Also

resultToDataframe returns the scalar output columns as data.frame

Examples

## Not run: 
simplace <- initSimplace(SimplaceInstallationDir,SimplaceWorkDir,SimplaceOutputDir)
openProject(simplace, Solution)
parameter <- list()
parameter$vTempLimit <- 32
createSimulation(simplace,parameter)
runSimulations(simplace)
simulationlist <-getSimulationIDs(simplace)
result <- getResult(simplace,"DIAGRAM_OUT", simulationlist[[1]]);
closeProject(simplace)
resultlist <- resultToList(result)
resullist$CURRENT.DATE
## End(Not run)

[Package simplace version 4.3.1 Index]