library("jrAutomate") library("flexdashboard")
Open exercises/chapter3/single_column_fill.Rmd
and Knit.
Add two additional charts to get the following layout
r
layout(matrix(c(1:4), 4, 1, byrow = TRUE))
layout_show(4, 2)
1. What is the difference between Column (fill)
and Column (scroll)
.
Hint: create a dashboard with $6$ charts for fill
and scroll
Open exercises/chapter3/row.Rmd
. Recreate the following layouts
Layout 1
r
layout(matrix(c(1:4), 2, 2, byrow = TRUE))
layout_show(4, 1)
* Layout 2
r
layout(matrix(c(1:2, 3, 3, 4:5), 3, 2, byrow = TRUE))
layout_show(5, 1)
Create the following layouts
{data-width=XXX}
)
r
layout(matrix(c(1, 1, 2, 3:5), 2, 3, byrow = TRUE))
layout_show(5, 1)
{data-height=XXX}
)
r
layout(matrix(c(1, 1, 2, 1, 1, 2, 3:5), 3, 3, byrow = TRUE))
layout_show(5, 1)
Multiple columns
.Rmd
file and knit.
Create the following layout.
r
layout(matrix(c(1, 1, 2, 4,
1, 1, 2, 5,
1, 1, 3, 6,
1, 1, 3, 7), 4, 4, byrow = TRUE))
layout_show(7, 1)
chapter3/pages.Rmd
. components
r
vignette("components", package = "jrAutomate")
to give you an idea of what is possible. The source code for the vignette is in the file chapter3/components.Rmd
chapter3/tabs.Rmd
. .tabset-fade
attribute do?chapter3/story.Rmd
.boxplot
of the simulated data.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.