Skip to contents

Calculates the Root Mean Square wave height, which is related to wave energy content.

Usage

calculate_rms_wave_height(wave_heights)

Arguments

wave_heights

Numeric vector of individual wave heights (m)

Value

RMS wave height in meters

Details

H_rms = sqrt(mean(H^2))

Relationship to Hs (for Rayleigh distribution): H_rms = Hs / sqrt(8) ~ 0.707 * Hs

Examples

heights <- c(1.2, 2.1, 0.8, 3.5, 1.9, 2.8)
h_rms <- calculate_rms_wave_height(heights)