-
Notifications
You must be signed in to change notification settings - Fork 0
/
shiny_AA.R
55 lines (53 loc) · 1.24 KB
/
shiny_AA.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
48
49
50
51
52
53
54
55
library(shiny)
library(shinybulma)
shinyApp(
ui = bulmaPage(
bulmaHero(
fullheight = TRUE,
color = "primary",
bulmaHeroBody(
bulmaContainer(
bulmaTitle("Shiny meets Bulma!"),
bulmaSubtitle("A neat framework for your Shiny apps.")
)
)
),
bulmaSection(
bulmaContainer(
bulmaTileAncestor(
bulmaTileParent(
vertical = TRUE,
bulmaTileChild(
bulmaTitle("Tile 1"),
p("Put some data here"),
color = "link"
),
bulmaTileChild(
bulmaTitle("Tile 2"),
plotOutput("chart"),
color = "danger"
)
),
bulmaTileParent(
vertical = TRUE,
bulmaTileChild(
bulmaTitle("Tile 3"),
p("Put some data here"),
color = "warning"
),
bulmaTileChild(
bulmaTitle("Tile 3"),
("Put some data here"),
color = "info"
)
)
)
)
)
),
server = function(input, output) {
output$chart <- renderPlot({
plot(x = runif(20, 5, 10), y = runif(20, 10, 12))
})
}
)