Skip to contents

Validates rogue wave detection results with specific checks for the rogue_ratio column and event characteristics.

Usage

validate_rogue_events(
  data,
  target_name = "rogue_wave_events",
  min_rows = 1,
  report_path = NULL
)

Arguments

data

A data frame of rogue wave events

target_name

Name of the target for error messages

min_rows

Minimum expected rows (default: 1)

report_path

Optional path to save HTML validation report

Value

The original data if validation passes