View source: R/utilities-writing-report.R
updateArtifactNumbers | R Documentation |
Update artifact (figure or table) captions and references in report
updateArtifactNumbers(
fileContent,
pattern,
replacement,
anchorId,
captionBelow = FALSE
)
fileContent |
Content of a markdown or text file read as an array of character strings |
pattern |
character pattern referencing figures in first element of line |
replacement |
character replacing pattern in updated caption name |
anchorId |
character pattern referencing anchor tags |
captionBelow |
logical defining if caption is below artifact |
Array of character strings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.