library("jrAutomate")
  library("flexdashboard")

For links to any webpages, see vignette("links", package = "jrAutomate")

Exercise 1 (15 minutes)

  1. Open exercises/chapter3/single_column_fill.Rmd and Knit.
  2. Add two additional charts to get the following layout
  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

  2. Open exercises/chapter3/row.Rmd. Recreate the following layouts

  3. Layout 1

layout(matrix(c(1:4), 2, 2, byrow = TRUE))
layout_show(4, 1)
layout(matrix(c(1:2, 3, 3, 4:5), 3, 2, byrow = TRUE))
layout_show(5, 1)

Exercise 2 (15 minutes)

Create the following layouts

layout(matrix(c(1, 1, 2, 3:5), 2, 3, byrow = TRUE))
layout_show(5, 1)
layout(matrix(c(1, 1, 2, 1, 1, 2, 3:5), 3, 3, byrow = TRUE))
layout_show(5, 1)

Exercise 3 (30 minutes)

  1. Open the Multiple columns .Rmd file and knit. Create the following layout.
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)
  1. Open chapter3/pages.Rmd.
  2. Open the vignette components
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

Exercise 4 (20 minutes)

  1. It's easy to create tab panes.

  2. Open chapter3/tabs.Rmd.

  3. What does the .tabset-fade attribute do?
  4. Alter one of your existing layouts and add a tab component

  5. Another neat layout is Storyboard^[See vignette("links", package = "jrAutomate")]

  6. Knit chapter3/story.Rmd.

  7. Add an additional frame to the storyboard containing a boxplot of the simulated data.
  8. Example^[See vignette("links", package = "jrAutomate")] from RStudio


jr-packages/jrAutomate documentation built on Dec. 14, 2019, 6:35 p.m.