- x
an sf object, a simple feature collection.
- df
a data frame that contains identifiers of starting and ending points and variables.
- xid
names of the identifier variables in x, character
vector of length 2, default to the 2 first columns. (optional)
- dfid
names of the identifier variables in df, character
vector of length 2, default to the two first columns. (optional)
- var
name of the variable used to plot the links widths.
- breaks
break values in sorted order to indicate the intervals for assigning the lines widths.
- lwd
vector of widths (classes of widths).
- var2
name of the variable used to plot the links colors.
- col
color of the links.
- colNA
no data color.
- legend.title.cex
size of the legend title.
- legend.values.cex
size of the values in the legend.
- legend.values.rnd
number of decimal places of the values in
the legend.
- legend.var.pos
position of the legend, one of "topleft", "top",
"topright", "right", "bottomright", "bottom", "bottomleft", "left" or a
vector of two coordinates in map units (c(x, y)).
- legend.var.title.txt
title of the legend (numeric data).
- legend.var.frame
whether to add a frame to the legend (TRUE) or
not (FALSE).
- legend.var2.pos
position of the legend, one of "topleft", "top",
"topright", "right", "bottomright", "bottom", "bottomleft", "left" or a
vector of two coordinates in map units (c(x, y)).
- legend.var2.title.txt
title of the legend (factor data).
- legend.var2.values.order
values order in the legend, a character vector
that matches var modalities. Colors will be affected following this order.
- legend.var2.nodata
text for "no data" values
- legend.var2.frame
whether to add a frame to the legend (TRUE) or
not (FALSE).
- add
whether to add the layer to an existing plot (TRUE) or
not (FALSE).