View source: R/nkde_execution_functions_sf.R

clean_events | R Documentation |

Function to avoid having events at the same location.

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

`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. |

A new feature collection of points

```
#This is an internal function, no example provided
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.