Define knitr options for an R Markdown output format that creates HTML output.
knitr_options_html(fig_width, fig_height, fig_retina, keep_md, dev = "png")
fig_width | Default width (in inches) for figures |
---|---|
fig_height | Default height (in inches) for figures |
fig_retina | Scaling to perform for retina displays (defaults to 2, which
currently works for all widely used retina displays). Set to |
keep_md | Keep the markdown file generated by knitting. |
dev | Graphics device to use for figure output (defaults to png) |
An list that can be passed as the knitr
argument of the
output_format
function.