anchors | R Documentation |
Retrieves diagnostics such as the anchor index and history. Use for code verification and troubleshooting. Also used internally by kfigr.
anchors(tag)
tag |
Optional specification of return type. |
If tag = "index"
, a dataframe listing all anchored chunks. If
tag = "history"
, a dataframe listing all references made, in order.
If the value of tag
matches a specific type
, all references
of that type
are provided in a list. If tag
is missing, all
references of all types are provided in a nested list.
figr("foo", type="figure")
figr("bar", type="table")
figr("test", type="figure")
anchors()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.