get.value.list: Get values from model components

Description Usage Arguments Value Author(s) See Also Examples

View source: R/clientmmii.R

Description

Retrieves data from the model, as either a single quantity or a possibly nested list of values

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
get.value.list("dummy_ih", "/runs/x", "FALSE")
# [[1]]
# [1] 40.76668
# 
# [[2]]
# [1] 37.52907
# 
# [[3]]
# [1] 33.82021
# 
# [[4]]
# [1] 29.69413

Simile documentation built on May 2, 2019, 6:52 a.m.