Learn R Programming

spNetwork (version 0.4.4.6)

clean_events: Clean events geometries

Description

Function to avoid having events at the same location.

Usage

clean_events(events, digits = 5, agg = NULL)

Value

A new feature collection of points

Arguments

events

The feature collection of points to contract (must have a weight column)

digits

The number of digits to keep

agg

A double indicating if the points must be aggregated within a distance. if NULL, then the points are aggregated by rounding the coordinates.

Examples

Run this code
#This is an internal function, no example provided

Run the code above in your browser using DataLab