
Plot depth selection patterns
Source:R/1.7.9_function_habitat_selection_analysis.R
plot_depth_selection.Rd
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)