Skip to contents

Create spatial plot of presence/absence points colored by depth

Usage

plot_depth_spatial(
  habitat_data,
  fish_select = 1,
  time_select = 0,
  background_raster = NULL,
  point_size = 1
)

Arguments

habitat_data

Data frame with x, y, depth_m, type columns

fish_select

Fish ID to plot (default: 1)

time_select

Time period to plot (default: 0)

background_raster

Optional background raster

point_size

Size of points (default: 1)

Value

ggplot object