-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
28 lines (25 loc) · 1.15 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
# Define UI for application
shinyUI(fluidPage(
# You can pick out these from here: https://rstudio.github.io/shinythemes/
# Must install ggthemes package
theme = shinytheme("united"), #Others to try include 'paper','slate','sandstone'
# Application title
titlePanel("R Ladies San Diego: Shiny Demo"),
navbarPage("Shiny Tabs",
tabPanel("Topic Explorer",
sidebarLayout(position = "left",
sidebarPanel(
selectInput("level", "Experience Level:",
c("Beginner (1)" = "Beginner",
"Intermediate (2,3)" = "Intermediate",
"Advanced (4,5)" = "Advanced"))
),
# Render Plot in Main Panel
mainPanel(
plotOutput("topicPlot")
))),
tabPanel("R Ladies Map",
h2("Map of R ladies Chapters"),
leafletOutput("rladiesMap")
)
)))