sp_char_index: Coordinates to unique character vector

View source: R/geometrical_functions_sf.R

sp_char_indexR 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

spNetwork documentation built on Aug. 24, 2023, 5:10 p.m.