put_gap | R Documentation |
Creates white space in a document by creating an empty plot in
ggplot2
. Border and fill can be specified to create a box. The
defaults are transparent.
put_gap(col = NULL, fill = NULL)
col |
Border color, default is |
fill |
Fill color, default is |
Allows the author of Rmd to docx documents to insert a vertical white space of specified height, particularly useful in creating documents that users are expected to write in, such as workshop or student lab materials.
The dimensions of the gap are determined when it is printed, e.g., using
knitr
in an R Markdown script, the box height in inches is set with
the fig.height
code chunk option.
Prints the box to the output document.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.