Dissolve polygones sf or SpatialPolygonsDataFrame

pol_dissolve(polygone, attribute)

Arguments

polygone

object of class sf, sfc, sfg or SpatialPolygons

attribute

character. Column name with the dissolve attribute