View source: R/utilities-simulation-results.R
getOutputValues | R Documentation |
The function receives an object of simulation results generated by running the simulation and returns time-values profiles for the chosen quantities. Results of a simulation of a single individual is treated as a population simulation with only one individual.
getOutputValues(
simulationResults,
quantitiesOrPaths = NULL,
population = NULL,
individualIds = NULL,
stopIfNotFound = TRUE,
addMetaData = TRUE
)
simulationResults |
Object of type |
quantitiesOrPaths |
Quantity instances (element or vector) typically
retrieved using |
population |
population used to calculate the |
individualIds |
|
stopIfNotFound |
If |
addMetaData |
If |
Returns the simulated values for the selected outputs (e.g molecules or parameters).
library(ospsuite)
simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
sim <- loadSimulation(simPath)
# Running an individual simulation
# results is an instance of `SimulationResults`
results <- runSimulations(sim)[[1]]
getOutputValues(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.