-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
42 lines (36 loc) · 1.03 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
library(shiny)
library(tibble)
library(ggplot2)
library(lawstat)
shinyUI(
fluidPage(
titlePanel("Analysis of two variables by nonparametric method"),
sidebarLayout(
sidebarPanel(
fileInput("file", "Choose CSV File",
accept = c(
"text/csv",
"text/comma-separated-values,text/plain",
".csv")
),
tags$hr(),
htmlOutput("colname1"),
htmlOutput("colname2"),
htmlOutput("alternative"),
htmlOutput("methodname"),
htmlOutput("sd_calc"),
actionButton("submit", "Analyze")
),
mainPanel(
tabsetPanel(type = "tabs",
tabPanel("Table", tableOutput('table')),
tabPanel("Result",
htmlOutput("plotmethod"),
plotOutput("plot"),
verbatimTextOutput("sum"),
verbatimTextOutput("sum_sd"))
)
)
)
)
)