citeFigure <-
function# get figure number
### return the figure reference
(key,
### identifier for the figure being referenced
link
### logical: If TRUE, relative link to figure is included
){
cite(key, link, type='Figure')
### a figure citation for cross-reference or labeling.
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.