declstr_weighted: Cell Declustering

Description Usage Arguments Value Examples

View source: R/cell_declustering.R

Description

Function returns list of points with their weights and lengths from grid cell in spatial object

Usage

1
declstr_weighted(spatial_object, cellsize)

Arguments

spatial_object

Object of class sfc or sf

cellsize

Target cellsize in map units

Value

Object of class sf

Examples

1
2
3
points4 = sf::st_read(system.file("points/punkty4.shp", package = "declusteringr"))
x = declstr_weighted(spatial_object = points4, cellsize = 10000)
x

alsarna/declusteringr documentation built on Sept. 29, 2020, 11:59 p.m.