-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
29 lines (25 loc) · 811 Bytes
/
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
library(shiny)
shinyUI(fluidPage(
titlePanel("Data Science"),
sidebarLayout(
sidebarPanel(
fileInput("file", "Upload CSV file", multiple = FALSE, accept = c("text/csv", "text/comma-separated-values,text/plain", ".csv"), width = NULL,
buttonLabel = "Browse...", placeholder = "No file selected"),
checkboxInput("header", "Header", TRUE),
selectInput("headers", "File Headers", choices = c("Select..."))
),
mainPanel(
tabsetPanel(
tabPanel(title = "Data",
dataTableOutput("table")
),
tabPanel(title = "Graphic",
plotOutput("char")
),
tabPanel(title = "Summary",
verbatimTextOutput("summary", placeholder = FALSE)
)
)
)
)
))