View source: R/utilities-quantity.R
getAllObserverPathsIn | R Documentation |
Retrieves the path of all observers defined in the container and all its children
getAllObserverPathsIn(container)
container |
A Container or Simulation used to find the observers |
An array with one entry per observer defined in the container
loadSimulation()
, getContainer()
and getAllContainersMatching()
to retrieve objects of type Container or Simulation
simPath <- system.file("extdata", "simple.pkml", package = "ospsuite")
sim <- loadSimulation(simPath)
# Returns the path of all quantities defined in the simulation
observerPaths <- getAllObserverPathsIn(sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.