
Includes a picture in rMarkdown, with knitr::includeGraphics, used within a code block, only for a single image
includeGraphics.RdIncludes a picture in rMarkdown, with knitr::includeGraphics, used within a code block, only for a single image
Usage
includeGraphics(
ident,
from = pwd(),
addAsLink = TRUE,
caption = "",
description = "",
includeCaption = T,
includeDescription = T,
...
)Arguments
- ident
path, resource or entity ID of the picture
- from
used for relative paths, by default pwd is used, which is initiated with the step that started improveR
- addAsLink
creates a link in inventory if TRUE, warn improveClean has to be run at the end
- caption
by default entityID and lastmodified are the caption, here alternative text can be provided
- description
by default filename is the caption, here alternative text can be provided
- includeCaption
display the caption
- includeDescription
display the description
- ...
additional options for knitr::includeGraphics