powered by
Convert decimal degrees to Compass direction.
cimis_degrees_to_compass(x)
A vector of directions in decimal degrees.
A factor vector of compass directions.
Degrees are labeled with their corresponding Primary InterCardinal compass direction, following the convention of the CIMIS daily wind data items.
cimis_compass_to_degrees()
# NOT RUN { cimis_degrees_to_compass(c(30, 83, 120, 140, 190, 240, 300, 330)) cimis_degrees_to_compass(cimis_compass_to_degrees(c("NNE", "ENE", "ESE", "SSE", "SSW", "WSW", "WNW", "NNW"))) # }
Run the code above in your browser using DataLab