View source: R/utilities-output-selections.R
addOutputs | R Documentation |
simulation
. The quantities
can either be specified using explicit instances or using paths.Adds the quantities as output into the simulation
. The quantities
can either be specified using explicit instances or using paths.
addOutputs(quantitiesOrPaths, simulation)
quantitiesOrPaths |
Quantity instances (element or vector) (typically
retrieved using |
simulation |
Instance of a simulation for which output selection should be updated. |
simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
sim <- loadSimulation(simPath)
paths <- c("Organism|VenousBlood|Plasma|Caffeine", "Organism|ArterialBlood|**|Caffeine")
addOutputs(paths, sim)
parameter <- getParameter("Organism|Liver|Volume", sim)
addOutputs(parameter, sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.