loc_to_numeric: Convert loc from alphanumeric to numeric

Description Usage Arguments Value Examples

View source: R/loc-to-numeric.r

Description

Convert alphanumeric grid locations to purely numeric ones, e.g. A.1 becomes 1.1.

Usage

1

Arguments

x

character; vector of alphanumeric grid locations.

Value

Numeric vector of grid locations.

Examples

1
loc_to_numeric(c("A.1", "T.5", "-1.1", "5.0", "AAA"))

mstrimas/krsp documentation built on May 23, 2019, 8:16 a.m.