-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpage1.Rmd
45 lines (34 loc) · 863 Bytes
/
page1.Rmd
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
# Introduction
Some text ...
Adding a DT table
```{r}
tags$div(
DT::renderDataTable(mtcars, filter = list(position = "top", clear = FALSE, plain = TRUE),
rownames = FALSE, style = "bootstrap",
options = list(
dom = "ltip",
autoWidth = TRUE,
columnDefs = list(list(className = 'dt-center', targets = "_all")),
processing = FALSE,
lengthMenu = c(10, 20, 50),
pageLength = 10
)
), style = "width: 800px; margin-left: auto; margin-right: auto;")
```
# A plot
```{r}
dat <- data.frame(x = rnorm(100), y = rnorm(100))
## Note the use of renderPlot ... we are in a shiny app after all
renderPlot({
ggplot(dat, aes(x = x, y = y)) + geom_point()
}, width = 700, height = 500, res = 144)
```
# Conclusion
Some more text ...
A few emoji ...
😀😀😀
Some special characters ...
Σ
Σ
Σ
Σ