Created
August 14, 2018 15:05
-
-
Save sharlagelfand/4fe0e68836513b7a21391c49ab449792 to your computer and use it in GitHub Desktop.
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
--- | |
title: "Plotly and floating TOC" | |
output: | |
html_document: | |
toc: true | |
toc_float: true | |
--- | |
# h1 | |
## h1.2 | |
# h2 | |
## h2.2 | |
```{r setup, include = FALSE} | |
library(plotly) | |
``` | |
```{r message = FALSE, echo = FALSE} | |
plot_ly(mtcars, | |
y = ~mpg, | |
x = ~cyl | |
) | |
plot_ly(mtcars, | |
y = ~mpg, | |
x = ~cyl | |
) | |
plot_ly(mtcars, | |
y = ~mpg, | |
x = ~cyl | |
) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment