-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathui.R
49 lines (36 loc) · 1.01 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
43
44
45
46
47
library(shiny)
# Jake added this line because he's an asshole
# Define UI for application that plots random distributions
shinyUI(pageWithSidebar(
# Application title
headerPanel("Drift Diffusion Model to Predict Behavior"),
# Sidebar with a slider input:
sidebarPanel(
sliderInput("a",
"Bound Height:",
min = 0.1,
max = 1,
step = 0.01,
value = 0.6,
),
sliderInput("k",
"Sensitivity:",
min = .1,
max = 100,
step = 0.1,
value = 25),
sliderInput("tRes",
"Residual Time:",
min = 0,
max = 0.6,
step = 0.01,
value = 0.2)
#checkboxInput()
),
# Show a plot of the PMF & CMF:
mainPanel(
h3(textOutput("caption")),
plotOutput("CMF"),
plotOutput("PMF")
)
))