seq_in {struct} | R Documentation

## Sequence input

### Description

get/set the input parameter replaced by the output of the previous model in a model sequence. Default is "data" which passes the output as the data input for methods such as `model_train` and `model_apply`.

### Usage

    seq_in(M)

    seq_in(M) <- value

### Arguments

`M` | a model object
`value` | name of an output for this model

### Value

`seq_in`

  returns the name of the input parameter replaced when used in a model sequence

`seq_in<-`

  sets the name of the input parameter replaced when used in a model sequence

### Examples

    M = example_model()
    seq_in(M)
    seq_in(M) = 'value_1'

[Package struct version 1.6.0 Index]