Learn R Programming

Simile (version 1.3.4)

list.objects: List Simile model components

Description

Lists all the model components with values. Components are specified by path, i.e., a string made from their caption preceded by the caption of their parent submodel, its parent and so on, separated by forward-slashes like a directory path.

Usage

list.objects(model.handle)

Value

List of component paths as described above, in tree traversal order

Arguments

model.handle

Model handle created when calling load.model()

Author

Jasper Taylor

Examples

Run this code
list.objects("dummy_mh")
# [1] "/sector"           "/sector/output"    "/sector/flow1"    
# [4] "/sector/variation"

Run the code above in your browser using DataLab