get.value.list {Simile} | R Documentation |
Get values from model components
Description
Retrieves data from the model, as either a single quantity or a possibly nested list of values
Usage
get.value.list(instance.handle, value.name, as.enum.types)
Arguments
instance.handle |
The handle returned by create.model(), identifying an executable model instance. |
value.name |
Caption path to the model component whose values are required |
as.enum.types |
Logical: whether to supply indices and values as character strings, using enumerated type members if applicable. Default is false: indices are integers and values are numerical. |
Value
A value or index-value list, from the model
Author(s)
Jasper Taylor
See Also
Examples
get.value.list("dummy_ih", "/runs/x", "FALSE")
# [[1]]
# [1] 40.76668
#
# [[2]]
# [1] 37.52907
#
# [[3]]
# [1] 33.82021
#
# [[4]]
# [1] 29.69413
[Package Simile version 1.3.3 Index]