
Plot a sea-mask raster
plot_seamask.RdCreates a map of a sea-mask raster and overlays coastlines for geographical context.
Arguments
- seamask
A raster::RasterLayer object containing sea-mask data, such as the object returned by
get_example_seamask().- title
Character string giving the plot title. Defaults to
"Coastline and sea mask".
Value
A ggplot2::ggplot() object showing land, sea, and the coastline.
Details
Cells containing missing values are classified as land, while cells containing non-missing values are classified as sea.
The coastline data supplied with the package are transformed to the
coordinate reference system of seamask before plotting.
See also
get_example_seamask() for loading the example sea-mask raster.
Other plotting functions:
plot_BirdFlightMap(),
plot_DBS_map(),
plot_DD_map(),
plot_DD_map_with_ORDs(),
plot_ORD_obstruction(),
plot_ORDpoly(),
plot_adult_body_mass(),
plot_brddata(),
plot_calibration_outputs(),
plot_chick_survival(),
plot_colony_location(),
plot_flight_distance(),
plot_fltdist_base(),
plot_frgcompdata()
Examples
# Load and plot the example sea mask
seamask <- get_example_seamask()
plot_seamask(seamask)