
Calculate Station Detection Efficiency Characteristics
Source:R/1.7.15_function_information_weighting.R
calculate_station_de_characteristics.RdCalculates robust station DE characteristics using the top percentile of DE values for each station and temporal group. This provides a more stable estimate of station capability than using mean or max values.
Usage
calculate_station_de_characteristics(
detection_probs,
percentile_cutoff = 0.95,
temporal_grouping = "day",
time_aggregation = "seconds"
)Arguments
- detection_probs
Data frame containing detection probabilities with columns for station_id, DE_pred, and time_period
- percentile_cutoff
Numeric between 0 and 1. The percentile cutoff for calculating robust station DE (default 0.95 for top 95% of values)
- temporal_grouping
Character. How to group temporally: "day", "hour", or "none"
- time_aggregation
Character. The time aggregation method being used ("seconds", "hour", "day", "month")