sp_char_index {spNetwork}R Documentation

Coordinates to unique character vector

Description

Generate a character vector based on a coordinates matrix and the maximum number of digits to keep.

Usage

sp_char_index(coords, digits)

Arguments

coords

A n * 2 matrix representing the coordinates

digits

The number of digits to keep from the coordinates

Value

A vector character vector of length n

Examples

#This is an internal function, no example provided

[Package spNetwork version 0.4.4.6 Index]