Skip to contents

All functions

cells_to_polygons()
Convert points for an entire reef that have been allocated site IDs into site polygons.
cluster_reef_points()
Cluster points into sites based on geographical attributes and additional extracted point values.
constrained_hclust()
Cluster points together using the adespatial::constr.hclust algorithm.
constrained_hclust_mst()
Default habitat clustering function using adespatial::constr.hclust.
extract_point_cells()
Extract pixel data from selected habitats over a target reef.
extract_point_pixels()
Extract pixel data from selected habitats over a target reef.
fill_na_nearest()
Internal helper function that fills NA values from columns with values from the nearest neighbouring points.
generate_raster_template()
Generate a raster template based on sf vector_data at a specific pixel_resolution.
hex_to_polygons()
Helper function to convert points in a single site into an sf poylgon.
input_check()
target reef.
neighborsDataFrame()
Helper function taken from package expp on 2025-01-20 that converts an spdep::nb neighbors object into a dataframe with columns id and id_neigh. Function copied from expp package to avoid expp dependency as this package is no longer maintained.
pixels_to_polygons()
Convert clustered points into collated site polygons
prepare_mst()
Create a minimum spanning tree from geographic coordinates of points and extracted data.
reef_skater()
Cluster points together using the spdep::skater algorithm.
reef_skater_fast()
Cluster points together using an optimized SKATER algorithm.
site_postprocessing()
Perform post-processing steps on site polygons.
skater_igraph()
An approximate Skater algorithm implemented using igraph methods.
ssw()
Internal helper to compute the sum of square distances within cluster nodes. Follows spdep function, implementing igraph methods. For additional information see spdep::ssw
vector_to_raster()
Convert vector data for a reef(s) to raster data for pixel extraction.