Skip to content

mapsf_0.8.0

Compare
Choose a tag to compare
@rCarto rCarto released this 21 Nov 13:14
· 42 commits to master since this release
a5377c1

Fix

  • raise an error and display an informative message if no points are plotted
    when type = "prop*"

Feat

  • add mf_distr(), a function to display a statistical distribution with
    histogram, boxplot, stripchart and density curve
  • add a lot of legend related args (leg_frame_border, leg_horiz, leg_adj,
    leg_bg, leg_fg, leg_size, leg_border, leg_box_border, leg_box_cex)
  • double legends (prop_choro, prop_typo, etc.) are stacked by default
  • add legends for raster
  • deprecate all mf_legend_*() functions
  • add rev arg for function using pal to reverse named palettes
  • add a q arg in mf_label() to select the quality of the non overlapping
    placement

Refactor

  • use the maplegend pkg for legends (this change may introduce minor breaking
    changes)
  • use s2 instead of overcomplicated sf code for othographic proj in
    mf_worldmap()
  • use R base instead of C++ in mf_label() non overalapping placement