-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing whether rmarkdown shiny can work according to jupyterhub/repo…
- Loading branch information
Kevin Donkers
committed
Aug 16, 2022
1 parent
9734a7f
commit 0df2a74
Showing
2 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
runtime: shiny | ||
output: html_document | ||
--- | ||
# This is a title | ||
|
||
|
||
## This is a plot, innit. | ||
|
||
```{r echo=FALSE} | ||
library(tidyverse) | ||
``` | ||
|
||
```{r echo=TRUE} | ||
ggplot(mtcars, aes(x=cyl, y=mpg)) + geom_point() | ||
``` | ||
|
||
|
||
```{r echo=TRUE} | ||
plot(cars) | ||
``` | ||
|
||
## Funky widgets, maaaaaan! | ||
```{r echo = FALSE} | ||
selectInput("n_breaks", label = "Number of wheelie bins:", | ||
choices = c(10, 20, 35, 50), selected = 20) | ||
sliderInput("bw_adjust", label = "Bandwidth ... width:", | ||
min = 0.2, max = 2, value = 1, step = 0.2) | ||
``` |