Learn R Programming

spNetwork (version 0.2.1)

sp_char_index: 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

Run this code
# NOT RUN {
#This is an internal function, no example provided
# }

Run the code above in your browser using DataLab