Skip to contents

Vectorized conversion from wind speed in knots to the Beaufort scale (0-12).

Usage

knots_to_beaufort(wind_speed_kn)

Arguments

wind_speed_kn

Numeric vector of wind speeds in knots.

Value

Integer vector of Beaufort numbers (0-12).

Examples

knots_to_beaufort(c(0, 5, 20, 34, 48, 64))
#> [1]  0  2  5  8 10 12