R Shiny Applications in Finance, Medicine, Pharma and Education Industry
by Loan Robinson
Preface
About this book
What you will gain
Prerequisites
About the Author
Basic Shiny Application
1
Introduction
2
Basic Shiny Application
3
Frontend/ User Interface UI
3.1
titlePanel()
3.2
sidebarLayout()
3.2.1
sidebarPanel()
3.2.2
mainPanel()
3.3
Footer of the Application
4
Backend Server
4.1
Outputs - render()
4.1.1
renderUI()
4.1.2
renderPlot()
4.1.3
renderDT()
4.1.4
downloadHandler()
4.2
Reactivitiy()
4.2.1
reactive()
4.2.2
reactiveValue()
4.2.3
observeEvent()
4.2.4
updateTabsetPanel()
5
Case Study
5.1
Basic Application Structure
5.2
Completed Basic Application R Codes
Google Trend Visualization Application
6
Introduction
7
Google Trend Visualization Application
8
Frontend/ User Interface UI
9
Backend Server
10
Case Study:
Stock Market Forcasting Application
11
Introduction
12
Stock Market Forcasting Application
13
Frontend/ User Interface UI
13.1
ShinyDashboard Structure
13.2
The User Interface
13.2.1
skin()
13.2.2
header()
13.2.3
sidebar()
13.2.4
controlbar()
13.3
The Output Interface
13.3.1
body()
13.4
The Footer
13.4.1
footer()
14
Backend Server
14.1
Stock Symbols Templates
14.2
The Individual Stock Symbol Output
15
Case Study
15.1
Stock Application Structure
15.2
Completed The Stock Market Application R Codes
Clinical Trials Application
16
Introduction
17
Clinical Trials Shiny Application
18
Frontend/ User Interface UI
19
Backend Server
20
Case Study:
Built with Bookdown + RStudio
A
A
Serif
Sans
White
Sepia
Night
15.1
Stock Application Structure
Figure 15.1: Basic Application Structure