changeInput.Filter: 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 'Filter'
changeInput(...)

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.

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 the current set of connected inputs see *getInput(). For more information see Filter..


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