Learn R Programming

spNetwork (version 0.1.1)

nearest: Nearest feature

Description

Find the nearest feature from set X in set Y

Usage

nearest(x, y)

Arguments

x

A SpatialDataFrame

y

A SpatialDataFrame

Value

A numeric vector with the index of the nearest features

Examples

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

Run the code above in your browser using DataLab