-
Notifications
You must be signed in to change notification settings - Fork 1
/
ui.R
52 lines (49 loc) · 1.42 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
#
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library("shiny")
library("leaflet")
shinyUI(fluidPage(
h1("Tuna Location Prediction in Indonesia Sea", align = "center") ,
# titlePanel("Prediction by density"),
tabsetPanel(
tabPanel("Home",
sliderInput(
"date",
"Pick a date",
min = as.Date("2012-01-01"),
max = as.Date("2018-03-31"),
value = as.Date("2012-01-01"),
step = 1,
animate = animationOptions(interval = 2000),
width = '100%'
),
fluidRow(
column(6,
leafletOutput("mymap")
),
column(6,
plotOutput("heatMap")
)
# column(2,
# h3("Prediction Graphs"),
# plotOutput("predictionGraph")
# )
)),
tabPanel("Details",
titlePanel("Naive Bayes Model Graph"),
fluidRow(
column(6,
plotOutput("bayesGraph1")
),
column(6,
plotOutput("bayesGraph2")
))
)
)
))