Skip to contents

Plot depth selection patterns

Usage

plot_depth_selection(
  habitat_data,
  fish_select = NULL,
  time_select = NULL,
  plot_type = "histogram",
  depth_bins = 20
)

Arguments

habitat_data

Data frame with presence/absence points and depth_m

fish_select

Vector of fish IDs to plot (default: all)

time_select

Vector of time periods to plot (default: all)

plot_type

Type of plot: "histogram", "boxplot", "density", "selection_ratio"

depth_bins

Number of bins for histogram/selection ratio plots (default: 20)

Value

ggplot object