-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
39 lines (37 loc) · 1.05 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
library(shiny)
fluidPage(
column(width = 2,
br(),
sliderInput("p",
"Erfolgswahrscheinlichkeit p",
value = 0.7,
min = 0,
max = 1,
step = 0.01),
sliderInput("n",
"Anzahl an Versuchen N",
value = 15,
min = 1,
max = 100,
step = 1),
sliderInput("x",
"Anzahl an Erfolgen x",
value = 4,
min = 0,
max = 15,
step = 1),
# actionButton("go",
# "Go!",
# icon = icon("microchip")),
br(),
textOutput("dist"),
br(),
span(uiOutput("github"), style = "font-size:10px;")
),
column(width = 5,
br(),
plotOutput("wahrscheinlichkeitsfunktion")),
column(width = 5,
br(),
plotOutput("verteilungsfunktion"))
)