Calculate RMS Wave Height
calculate_rms_wave_height.RdCalculates the Root Mean Square wave height, which is related to wave energy content.
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)