Skip to contents

Draw arrows from one point set to another

Usage

add_arrows_xy(
  xy_launch,
  xy_land,
  M,
  min_edge_frac = 0.95,
  r = 0,
  arw_lng = 0.1,
  lwd = 2,
  lamp = 1,
  clr = "darkgreen"
)

Arguments

xy_launch

origin point set

xy_land

destination point set

M

the dispersal matrix

min_edge_frac

the fraction of mass to plot

r

the radius of a ring around destination points

arw_lng

the arrow length

lwd

scale the line width

lamp

arrow width scaling factor

clr

the arrow color

Value

invisible(NULL)