prepare_points: prepare_points

Description Usage Arguments Value

View source: R/2a_prepare_points.R

Description

Prepares points for regionalization - changes simple features to SpatialPointsDataFrame and calculates neighborhood objects

Usage

1
prepare_points(x, n.neigh, plot)

Arguments

x

point object of class sf

n.neigh

number of nearest neighbors that should be taken into consideration for building graph

plot

logical if TRUE a plot showing neighborhoods is being presented

Value

neighborhoods for community finding


dabrowskia/dspace documentation built on July 3, 2020, 8:47 p.m.