arrow_head_harpoon | R Documentation |
Make a harpoon arrowhead
arrow_head_harpoon(
point_angle = 30,
barb_angle = 20,
degrees = TRUE,
rotate = 0,
rescale = c(1, 1),
nudge = c(0, 0),
transformations = c("unitizer", "rotater", "rescaler", "nudger"),
plot = FALSE
)
point_angle |
angle of harpoon point |
barb_angle |
angle of harpoon barb |
degrees |
if TRUE, angles are in degrees instead of radians |
rotate |
rotation angle in radians |
rescale |
a single value or 2-length vector for scaling in x and y |
nudge |
a single value or 2-length vector for nudging in x and y |
transformations |
a vector of transformation functions |
plot |
plot arrowhead if TRUE |
a matrix
xy <- arrow_head_harpoon(plot = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.