rmdFIGURE | R Documentation |
Allows to generate RMD code to include a figure defined in a pdf, png, jpg file. From multi page PDFs selected pages or page ranges can be included.
rmdFIGURE( file, caption = NULL, label = NULL, legend = NULL, pages = NULL, scale = 100, crop = TRUE, repeatLegend = TRUE, ignoreCaption = FALSE )
file |
Character string, specifying the absolute or relative path to the figure file to include (pdf, png, jpg, etc.). |
caption |
Caption for the table. If NULL then the title information in the table text file is used as caption. |
label |
Character string to be used for cross-referencing. |
legend |
Character string with text that is written as "legend" under the figure. |
pages |
A character string with information about which pages of a multi-page PDF
should be included into the report. If undefined all pages will be exported with the same
caption and figure number. The legend will be repeated after each figure if argument
|
scale |
Number value (percent) for scaling the figure. |
crop |
Boolean. If set to TRUE then figure will be cropped to remove surrounding white space. |
repeatLegend |
See |
ignoreCaption |
Caption can be ignored if desired (no caption will be shown for figure) |
FIG command as IQRrmd object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.