This vignette illustrates the available report template layouts in templates.R
.
require(mapvizieR) knitr::opts_chunk$set( dev = 'svg', fig.width = 5, fig.height = 3 ) p01 <- grobTree( rectGrob(gp=gpar(fill='orange', alpha=0.9)), textGrob('p01') ) p02 <- grobTree( rectGrob(gp=gpar(fill='gray', alpha=0.9)), textGrob('p02') ) p03 <- grobTree( rectGrob(gp=gpar(fill='pink', alpha=0.9)), textGrob('p03') ) p04 <- grobTree( rectGrob(gp=gpar(fill='blue', alpha=0.9)), textGrob('p04') ) p05 <- grobTree( rectGrob(gp=gpar(fill='red', alpha=0.9)), textGrob('p05') )
Template 01 is a 2 column grid.
template_01(p01, p02) %>% grid.draw()
Template 02 is a 3 column grid.
template_02(p01, p02, p03) %>% grid.draw()
Template 03 is a 2 x 2 column grid.
template_03(p01, p02, p03, p04) %>% grid.draw()
Template 04 is a 3 column grid, focused on the center, with 2 row grids on each side.
template_04(p01, p02, p03, p04, p05) %>% grid.draw()
Template 05 is a 2 row grid.
template_05(p01, p02) %>% grid.draw()
Template 05 is a 2 column grid.
template_06(p01, p02, p03, p04, p05) %>% grid.draw()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.