Skip to contents

Functions

aggregate_polygons()
Compute summary statistics of a variable over polygons in a shapefile
aggregate_raster()
Compute summary statistics of variables in a data frame for each raster grid cell
assign_points_secr()
Assign points to polygon using package secr
assign_points_terra()
Assign points to polygon using package terra
assign_points_to_nearest_polygon()
For points that are not within polygons, find the nearest polygon edge
clean_ziff_dates()
Clean ziff dates
convert_dms_to_dd()
Convert coordinates from degrees minutes seconds to decimal degrees
format_grid_manually()
Manually format a prediction grid
get_depth()
Get depths associated with longitude and latitude
get_shapefile()
Retrieve a stored shapefile
make_grid()
Make a prediction grid for the Gulf Region
make_polygon()
Make polygons from a data frame of spatial coordinates
union_polygons()
Union specified polygons within a shapefile.

Data

dat.rv
Example data set: Research Vessel (RV) Survey
dat.visreg.fits
Data frame of visreg fits
dat.ziff
Example data set: Commercial Landings
pgrid4
An example prediction grid for the Gulf of St. Lawrence

Shapefiles

coastline
Coastline shapefile
hex
Hexagonal grid, 10x10km
mpa
Oceans Act Marine Protected Areas shapefile
nafo.clipped
Northwest Atlantic Fisheries Organization (NAFO) shapefile, clipped to land
nafo.unclipped
Northwest Atlantic Fisheries Organization (NAFO) shapefile, not clipped to land
oecm
Other Effective Area-Based Conservation Measures shapefile
rv.sgsl
Southern Gulf of St. Lawrence September Research Vessel Survey
rv.winter
Gulf of St. Lawrence Winter Research Vessel Survey