arrowhead | R Documentation |
The arrowhead function returns the default arrowhead. The set_default_arrowhead function will change the default arrowhead in the current R session. For details about making arrowheads, see the ggarrow and arrowheadr packages.
arrowhead()
set_default_arrowhead(m = NULL)
m |
A matrix used to make a ggarrow arrowhead |
2-column matrix
previous default arrowhead
arrowhead()
# Set new default
set_default_arrowhead(ggarrow::arrow_head_wings(offset = 25))
arrowhead()
# restore default
set_default_arrowhead()
arrowhead()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.