Learn R Programming

spNetwork (version 0.1.1)

aggregate_points: Events aggregation

Description

Function to aggregate points within a radius.

Usage

aggregate_points(points, maxdist)

Arguments

points

The SpatialPointsDataFrame to contract (must have a weight column)

maxdist

The distance to use

Value

A new SpatialPointsDataFrame

Examples

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

Run the code above in your browser using DataLab