Description Usage Arguments Value Note Author(s) See Also Examples
Retrieves data from the model, as either a single quantity or an array of values with the appropriate dimensions
1 | get.value.array(instance.handle, value.name, as.enum.types)
|
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 values as character strings, using enumerated type names if applicable. Default is false: values are numerical. |
A value or array of values, from the model
Will not work on components inside variable-membership submodels. For these you should use get.value.list instead, as R's list structure is more appropriate than the array structure when not all values exist.
Jasper Taylor
1 2 3 | get.value.array("dummy_ih", "/sector/output", FALSE)
# [1] 0.8414710 0.9092974 0.1411200 -0.7568025 -0.9589243 -0.2794155
# [7] 0.6569866 0.9893582 0.4121185 -0.5440211
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.