get.value.list: 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

get.value.array

Examples

> get.value.list(iHandle, "/runs/x", "FALSE")
[[1]]
[1] 40.76668

[[2]]
[1] 37.52907

[[3]]
[1] 33.82021

[[4]]
[1] 29.69413