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 input panels

The final two inputs we will introduce will be used for the SMA graphs later on. The first one is used to select which SMA implementation the user wants to use. The options are the sma_efficient_1(), sma_efficient_2(), sma_delegated_fortran(), and sma_delegated_cpp() functions we created in the previous chapter. The second one is used to define the period used for the SMA calculation, and which is used as input in one of the previous functions.

Since code can start being too repetitive and taking too much space, and since you have most likely understood the nesting patterns used in the creation of the ui, I will avoid repeating the full ui object declaration, and simply point where changes need to be made. ...

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