Skip to Content
R Programming By Example
book

R Programming By Example

by Omar Trejo Navarro
December 2017
Beginner to intermediate
470 pages
12h 29m
English
Packt Publishing
Content preview from R Programming By Example

Setting up dynamic options in a drop-down

Now we will see how to add a drop-down input whose entries adapt to the tab the user is currently viewing. Specifically, we will add the possibility for the user to select which asset they want to use to filter the data. If you looked carefully, you may have noticed that the dynamic data table contains observations for both Bitcoin and Litecoin, which may be fine when we're just looking at the table, but it will be a problem when we attempt to show a price time-series because we will have data for more than one asset. We want to provide a mechanism to select only one of them, but we want to keep the option of looking at all of them together in the dynamic data table, just as we are doing now.

We start ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Efficient R Programming

Efficient R Programming

Colin Gillespie, Robin Lovelace
R Programming

R Programming

Jared P. Lander

Publisher Resources

ISBN: 9781788292542Supplemental Content