Skip to contents

Parse measurement and direction strings

Usage

split_trailing_letters(x)

Arguments

x

character or number

Value

list

Examples

test <- c("45NW", "4SE")
split_trailing_letters(test)
#> $measurement
#> 45NW  4SE 
#>   45    4 
#> 
#> $direction
#> 45NW  4SE 
#> "NW" "SE" 
#>