Makes a density plot of a selected attribute

make_hist(attribute_name, shp = countries_shapefile)

Arguments

attribute_name

character, name of an attribute to create a density plot

shp

a SpatialPolygonsDataFrame with attributes

Value

a ggplot2 object