changeInput.SerialFilter: Change input(s) on this filter and optionally all filters...

Description Usage Arguments Author(s) See Also

Description

Changes some input(s) to new input(s). A filter has one or more input connections that each can be connected to for instance another filter's output or to some data objects. After having designed a network of filters connected to some data objects it is sometime desireble to connect the same network of filters to another set of data objects. This can be done easily by calling this method on the very last filter and tell it to recursively update all other filters accordingly.

Usage

1
2
## S3 method for class 'SerialFilter'
changeInput(this, newInput, oldInput=NULL, recursive=FALSE, ...)

Arguments

newInput

All connections to this input will be disconnected and replaced by the input object specified by this argument.

oldInput

All connections matching to this input will be replaced. If NULL all connections will be replaced. Default value is NULL.

recursive

If TRUE this filter and all filters up the stream will update its connections according to oldInput and newInput. If FALSE, only this filter will update its input connection(s).

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

To get the current set of connected inputs see Filter.getInput. For more information see SerialFilter.


HenrikBengtsson/aroma documentation built on May 7, 2019, 12:56 a.m.