result_name {struct} | R Documentation

## get/set output name as prediction output for a model

### Description

get/set the prediction output for a model_ This determines which outputs from this model are supplied as inputs to the next model when used in a model_seq

### Usage

    result_name(M)

    result_name(I) <- value

### Arguments

`M` | an iterator object
`I` | an iterator object
`value` | name of an output for iterator M

### Value

`result_name(M)`

  returns the name of the output for this iterator (equivalent to `predicted` for model objects)

`result_name(I)<-`

  sets the default output for an iterator

### Examples

    I = example_iterator() # initialise iterator
    result_name(I)
    result_name(I) = 'result_1'

[Package struct version 0.99.9 Index]