Skip to content

Instantly share code, notes, and snippets.

@mrjoh3
Created June 25, 2016 07:55
Show Gist options
  • Save mrjoh3/e4f191bd4259a671d19ba7687a862ffb to your computer and use it in GitHub Desktop.
Save mrjoh3/e4f191bd4259a671d19ba7687a862ffb to your computer and use it in GitHub Desktop.
Test widget resize in flexdashboard pages
---
title: "Widget Size Test"
output:
flexdashboard::flex_dashboard
---
```{r setup, include=FALSE}
#devtools::install_github("mrjoh3/c3")
library(flexdashboard)
library(c3)
data = data.frame(a = abs(rnorm(20) * 10),
b = abs(rnorm(20) * 10),
date = seq(as.Date("2014-01-01"), by = "month", length.out = 20))
```
First Plot
==================
### First Plot
```{r}
c3(data)
```
Second Plot
==================
### Second Plot
```{r, fig.height=6}
c3(data)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment