A flexdashboard poster is an R Markdown document using a flexdashboard
layout to arrange text, figures, tables and other content into a typical
grid format as used for conference posters.
The print version will be rendered when knitting if the format option
render_print
is set to TRUE
in the YAML header or the function
call; currently this requires that the root dir be set to the default or a
path relative to the Rmd document location, otherwise it will result in an
error.
flex_dashboard_poster(fig_width = 6, fig_height = 6, fig_mobile = FALSE, dev = "png", self_contained = TRUE, orientation = "rows", df_print = "kable", css = NULL, keep_md = FALSE, theme = "default", highlight = "default", md_extensions = NULL, render_print = FALSE, ...)
fig_width | Default width (in inches) for figures |
---|---|
fig_height | Default width (in inches) for figures |
fig_mobile | Create an additional rendering of each R graphics figure
optimized for rendering on mobile devices oriented in portrait mode.
If |
dev | Graphics device to use for figure output (defaults to png) |
self_contained | Produce a standalone HTML file with no external dependencies, using data: URIs to incorporate the contents of linked scripts, stylesheets, images, and videos. Note that even for self contained documents MathJax is still loaded externally (this is necessary because of it's size). |
orientation | Determines whether level 2 headings are treated as dashboard rows or dashboard columns. |
df_print | Method to be used for printing data frames. Valid values
include "default", "kable", "tibble", and "paged". The "default" method uses
|
css | One or more css files to include |
keep_md | Keep the markdown file generated by knitting. Note that
if this is |
theme | Visual theme ("default", "bootstrap", "cerulean", "journal", "flatly", "readable", "spacelab", "united", "cosmo", "lumen", "paper", "sandstone", "simplex", or "yeti"). The "cosmo" theme is used when "default" is specified. |
highlight | Syntax highlighting style. Supported styles include "default", "tango", "pygments", "kate", "monochrome", "espresso", "zenburn", and "haddock". Pass NULL to prevent syntax highlighting. |
md_extensions | Markdown extensions to be added or removed from the
default definition or R Markdown. See the |
render_print | Whether to render the print version (defaults to FALSE). |
... | Additional arguments passed to |
R Markdown output format to pass to render
Compared to flexdashboard::flex_dashboard
, it:
uses level 2 headings as dashboard rows by default, because posters are usually divided vertically in horizontal sections (e.g. title, body, figures), each of which can contain a different number of columns (i.e. level three headings)
prints data frames using kable
to show nice simple
tables when there is data frame output from the code chunks
produces larger figures
never creates mobile rendering of the R graphics
never uses retina figures