output_value {struct} | R Documentation

## output values

### Description

get/set the values for an output_

### Usage

    output_value(obj, name)

    output_value(obj, name) <- value

    ## S4 method for signature 'struct_class,character'
    output_value(obj, name)

    ## S4 replacement method for signature 'struct_class,character'
    output_value(obj, name) <- value

### Arguments

`obj` | A model or iterator object derived from the *struct* class
`name` | Name of output
`value` | A valid value for the output being set

### Value

Value of output

struct object

### Methods (by class)

- `obj = struct_class,name = character`:

- `obj = struct_class,name = character`:

### Examples

    M = example_model()
    output_value(M,'result_1')
    M = example_model()
    output_value(M,'result_1') = DatasetExperiment()

[Package struct version 1.2.0 Index]