st_hexbin_utm | R Documentation |
Retrieve of set of hex-binned polygons for the given xyz data
st_hexbin_utm( x, y, z, fun = c("mean", "count", "median")[2], crs = ifelse(use_wkt("sf"), "epsg:4326", "+proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0"), utm_crs = ifelse(use_wkt("sf"), "epsg:32619", "+proj=utm +zone=19 ellps=WGS84"), na.rm = TRUE, ... )
x |
a vector of lon-locations |
y |
a vector of lat-locations |
z |
a vector of values associated with each location |
fun |
character the function used to process the cell values currently only 'mean', 'median', or 'count' (default) |
crs |
the projection string for final data |
utm_crs |
intermediary UTM projection string |
na.rm |
logical passed through to user's selected function |
... |
further arguments for |
a POLYGON sf data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.