/
ui.R
25 lines (21 loc) · 872 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
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(title = "A/B Testing"),
dashboardSidebar(disable = TRUE),
dashboardBody(
# Boxes need to be put in a row (or column)
fluidRow(
box(
title = "Test Inputs",
numericInput("tao", label = h3("Effect Prior's Variance"), value = 1),
numericInput("test.sample.size", label = h3("Number of Test Group Observations"), value = 1000),
numericInput("control.sample.size", label = h3("Number of Control Group Observations"), value = 1000),
numericInput("test.conversions", label = h3("Number of Test Group Conversions"), value = 100),
numericInput("control.conversions", label = h3("Number of Control Group Conversions"), value = 10)
),
valueBox(
uiOutput("pvalue"), "P-Value", color = "black")
)
)
)