prop_choro : proportional symbols maps with symbols colors based on a quantitative data classification
prop_typo : proportional symbols maps with symbols colors based on qualitative data
symb_choro : symbols maps with symbols colors based on a quantitative data classification
breaks: either a numeric vector with the actual breaks, or a classification method name (see mf_get_breaks and Details)
nbreaks: number of classes
pal: a set of colors or a palette name (from hcl.colors )
alpha: if pal is a hcl.colors palette name, the alpha-transparency level in the range [0,1]
rev: if pal is a hcl.colors palette name, whether the ordering of the colors should be reversed (TRUE) or not (FALSE)
inches: size of the biggest symbol (radius for circles, half width for squares) in inches.
val_max: maximum value used for proportional symbols
symbol: type of symbols, 'circle' or 'square'
col: color
lwd_max: line width of the largest line
val_order: values order, a character vector that matches var modalities
pch: point type
cex: point size
border: border color
lwd: border width
col_na: color for missing values
cex_na: cex (point size) for NA values
pch_na: pch (point type) for NA values
expandBB: fractional values to expand the bounding box with, in each direction (bottom, left, top, right)
add: whether to add the layer to an existing plot (TRUE) or not (FALSE)
leg_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)). If leg_pos = NA then the legend is not plotted. If leg_pos = 'interactive' click onthe map to choose the legend position.
leg_title: legend title
leg_title_cex: size of the legend title
leg_val_cex: size of the values in the legend
leg_val_rnd: number of decimal places of the values in the legend
leg_no_data: label for missing values
leg_frame: whether to add a frame to the legend (TRUE) or not (FALSE)
leg_frame_border: border color of the legend frame
leg_horiz: display the legend horizontally (for proportional symbols and choropleth types)
leg_adj: adjust the postion of the legend in x and y directions
leg_bg: color of the legend backgournd
leg_fg: color of the legend foreground
leg_size: size of the legend; 2 means two times bigger
leg_border: symbol border color(s)
leg_box_border: border color of legend boxes
leg_box_cex: width and height size expansion of boxes
...: further parameters from plot for sfc objects
Returns
x is (invisibly) returned.
Details
Relevant arguments and default values for each map types:
choro : areas are shaded according to the variation of a quantitative
variable. Choropleth maps are used to represent ratios or indices.
nbreaks, and breaks allow to set the variable classification. Colors palettes, defined with pal, can be created with mf_get_pal() or can use palette names from hcl.pals().
prop_choro : displays symbols with sizes proportional to values of a
first variable and colored to reflect the classification of a second
quantitative variable.
prop_typo : displays symbols with sizes proportional to values of a
first variable and colored to reflect the modalities of a second qualitative
variable.
symb_choro : displays the different modalities of a first qualitative
variable as symbols colored to reflect the classification of a second
quantitative variable.