-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathui.R
33 lines (30 loc) · 935 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
30
31
32
33
library(shiny)
shinyUI(
fluidPage(
titlePanel("Easy vector autoregressive"),
sidebarLayout(
sidebarPanel(
fileInput("file", "Choose csv file",
accept = c(
"text/csv",
"text/comma-separated-values,text/plain",
".csv")
),
tags$hr(),
numericInput("lag.max", "The highest lag order", value = 12),
tags$hr(),
numericInput("period", "Period", value = 3)
),
mainPanel(
tabsetPanel(type = "tabs",
tabPanel("Data", tableOutput("data")),
tabPanel("Predict", tableOutput("pred_data")),
tabPanel("Plot",
htmlOutput("trend_name"),
plotOutput("plot")),
tabPanel("Summary", verbatimTextOutput("sum"))
)
)
)
)
)