There are two variations: do you want to use a predicate function (if)
or a boolean stream (when); and do you want to keep or drop the
values.
| 1 2 3 4 5 6 7 | 
| signal | A signal | 
| predicate | For  | 
| init | Shiny does not allow undefined signals, so an initial value must be provided in case the first signal is filtered out. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.