View source: R/char2numAspect.R
char2numAspect | R Documentation |
Convert character aspects (of snow profile locations) to numeric values. For example, Aspect "N" (north) becomes 0 degrees azimuth.
char2numAspect(charAspect)
charAspect |
Character string of aspect location, i.e., one of
|
Float value of numeric aspect location, North = 0 degree, S = 180 degree
fherla
char2numAspect("W")
char2numAspect("WNW")
char2numAspect(c("N", NA, "NA", "NE"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.