seq_in: Sequence input

Description Usage Arguments Value Examples

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

1
2
3
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

1
2
3
M = example_model()
seq_in(M)
seq_in(M) = 'value_1'

struct documentation built on Nov. 8, 2020, 8:14 p.m.