.getEntity | R Documentation |
Retrieve a single entity by path in the given container
.getEntity(path, container, entityType, stopIfNotFound = TRUE)
path |
A string representing the path relative to the |
container |
A Container or Simulation used to find the entities |
entityType |
Class of the type that should be returned. Supported types are Container, Quantity, and Parameter. |
stopIfNotFound |
Boolean. If |
The Entity
with the given path coerced to the entityType
.
If the entity for the path does not exist, an error is thrown in case of
stopIfNotFound
is TRUE (default), otherwise NULL
loadSimulation()
, getContainer()
and
getAllContainersMatching()
to create objects of type Container or
Simulation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.