resultToDataframe {simplace} | R Documentation |
All scalar output columns are transformed to appropriate R objects and then glued together in a dataframe. Array outputs columns are ignored.
resultToDataframe(result, from = NULL, to = NULL)
result |
handle to the data container returned by |
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 |
data.frame with scalar output columns
resultToList
returns the output columns as list
## 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) resultframe <- resultToDataframe(result) resultframe[3,] ## End(Not run)