smooth_map.
smooth_raster_cover(shp, var = NA, bandwidth = NA, threshold = 0.6, output = "SpatialPolygons")SpatialGrid(DataFrame) or Raster class.SpatialPolygons, SpatialLines, SpatialGridDataFrame, or RasterLayer. A vector of class names results in a list of output objects.bkde2D. This implemention is slightly different: bkde2D takes point coordinates and applies linear binning, whereas in this function, the data is already binned, with values 1 if the values of var are not missing and 0 if values of var are missing.