-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathui.R
71 lines (70 loc) · 3.18 KB
/
ui.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
require('shiny', quietly = TRUE, warn.conflicts = FALSE)
shinyUI(
fluidPage(
titlePanel("Gorkha Earthquake & Aftershocks"),
navbarPage("Visualizations: ",
tabPanel("Gorkha EQ Timeline",
fluidPage(
titlePanel("Timeline"),
mainPanel(
verticalLayout(
plotOutput('plot.gorkha.earthquake.mag.in.timeline',
inline = TRUE),
plotOutput('plot.gorkha.earthquakes.mag.vs.datetime',
inline = TRUE)
)
)
)
),
tabPanel("Gorkha EQ Map",
fluidPage(titlePanel("Basic Map"),
mainPanel(
verticalLayout(
leafletOutput('leaflet.plot.gorkha.quakes.quakes.on.map',
width = "960", height = "540")
)
)
)
),
tabPanel("Animated Map",
fluidPage(titlePanel("Animated Map"),
mainPanel(
sidebarLayout(
sidebarPanel(
HTML("From: 2015-04-25<br />To: "),
uiOutput('ui.animate.map.day.slider'),
textOutput('animate.map.date.to')
),
mainPanel(
plotOutput('animate.map.plot',
width = "853", height = "480")
)
)
)
)
),
tabPanel("Time Intervals",
fluidPage(
titlePanel("Inter-Quake Times"),
mainPanel(plotOutput('plot.inter.earthquake.time.from.2015.4.25.to.2015.5.12',
inline = TRUE),
plotOutput('plot.inter.earthquake.time.from.2015.5.13',
inline = TRUE))
)
),
tabPanel("All EQ in 2015",
fluidPage(
titlePanel("All EQ in 2015"),
mainPanel(
verticalLayout(
plotOutput('plot.all.earthquakes.mag.in.timeline',
inline = TRUE),
plotOutput('plot.all.earthquakes.mag.vs.datetime',
inline = TRUE)
)
)
)
)
)
)
)