cimis_compass_to_degrees {cimir}R Documentation

Compass Direction To Degrees

Description

Convert the Compass direction labels to degrees.

Usage

cimis_compass_to_degrees(x)

Arguments

x

A vector of compass directions, i.e. the data item labels "DayWindNnw", "DayWindSse", etc. Recognized directions are North-northeast (NNE), East-northeast (ENE), East-southeast (ESE), South-southeast (SSE), South-southwest (SSW), West-southwest (WSW), West-northwest (WNW), and North-northwest (NNW).

Value

A numeric vector of degrees corresponding to the middle azimuth of the corresponding compass direction.

See Also

cimis_degrees_to_compass()

Examples

cimis_compass_to_degrees("day-wind-nne")
cimis_compass_to_degrees(c("SSE", "SSW", "wsw", "Wnw", "nnw"))


[Package cimir version 0.4-1 Index]