Logo

The Data Daily

Simplifying Parts Of A Shiny App by Creating Functions | R-bloggers

Simplifying Parts Of A Shiny App by Creating Functions | R-bloggers

Simplifying Parts Of A Shiny App by Creating Functions
Posted on October 10, 2022 by Pascal Schmidt in R bloggers | 0 Comments
[This article was first published on R , and kindly contributed to R-bloggers ]. (You can report issue about the content on this page here )
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Share Tweet
Until now, the Shiny app we created has all the HTML in the UI. On top of that, we have repeated code that we can stick into a function to make the app smaller and to be able to test the functions we are creating.
Here are Part 1 and Part 2 of the app.
The UI Shiny Part
Right now, the UI part of the shiny app looks like this:
ui

Images Powered by Shutterstock