Chapter 18 Functions

Like in R analyses, functions can be useful in Shiny applications to improve the functionality/optimization and make your code cleaner for quicker debugging.

Learning objectives:

  • Learn how to use functional programming techniques to make many controls at once

  • Understand how to use functions with reactives in the server

  • Walk through some use cases where functions may be appropriate


Outline

1 - File Organization

2 - UI functions

3 - Server functions