lift: Lift a function onto a reactive.

Description Usage Arguments

View source: R/signal.R

Description

Lifting a function onto a signal creates a new signal that's been transformed by the function. %~>% is an infix conveneience.

Usage

1
2
3
4
5
lift(signal, f)

lift2(signal1, signal2, f)

signal %~>% f

Arguments

signal,signal1,signal2

Signals.

f

A function to apply: for lift() it should take a single argument, for lift2() it should take two.


hadley/shinySignals documentation built on May 17, 2019, 12:47 p.m.