char2numAspect {sarp.snowprofile} | R Documentation |
Conversion of character Aspects to numeric Aspects
Description
Convert character aspects (of snow profile locations) to numeric values. For example, Aspect "N" (north) becomes 0 degrees azimuth.
Usage
char2numAspect(charAspect)
Arguments
charAspect |
Character string of aspect location, i.e., one of
|
Value
Float value of numeric aspect location, North = 0 degree, S = 180 degree
Author(s)
fherla
Examples
char2numAspect("W")
char2numAspect("WNW")
char2numAspect(c("N", NA, "NA", "NE"))
[Package sarp.snowprofile version 1.3.2 Index]