SimulationResults | R Documentation |
Results of a simulation run (either individual or population simulation)
rSharp::NetObject
-> ospsuite::DotNetWrapper
-> SimulationResults
count
the number of individual results (Count==1
generally means that we are dealing with an individual simulation results).
simulation
Reference to the Simulation
used to calculate or import the results (Read-Only).
timeValues
Vector of simulated time output values
allQuantityPaths
List of all paths for which results are defined.
allIndividualIds
List of Ids of all individuals that have been simulated
rSharp::NetObject$call()
rSharp::NetObject$finalize()
rSharp::NetObject$get()
rSharp::NetObject$getFields()
rSharp::NetObject$getMemberSignature()
rSharp::NetObject$getMethods()
rSharp::NetObject$getProperties()
rSharp::NetObject$getStaticFields()
rSharp::NetObject$getStaticMethods()
rSharp::NetObject$getStaticProperties()
rSharp::NetObject$set()
new()
Initialize a new instance of the class
SimulationResults$new(netObject, simulation)
netObject
An rSharp::NetObject
object.
simulation
Reference to the simulation object used to calculated the results
A new SimulationResults
object.
hasResultsForIndividual()
Returns TRUE
if results are available for the individual with id individualId
otherwise FALSE
SimulationResults$hasResultsForIndividual(individualId)
individualId
Id of the individual
getValuesByPath()
Returns TRUE
if results are available for the individual with id individualId
otherwise FALSE
SimulationResults$getValuesByPath(path, individualIds, stopIfNotFound = TRUE)
path
Path for which values should be retrieved
individualIds
One or more individual ids for which values should be returned
stopIfNotFound
If TRUE
(default) an error is thrown if no values could be found for the path
/
If FALSE
, a list of NA
values is returned
resultsForIndividual()
Returns all available results for the individual with id individualId
SimulationResults$resultsForIndividual(individualId)
individualId
Id for which the results should be returned
print()
Print the object to the console
SimulationResults$print(...)
...
Rest arguments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.