getWeight: Computes the weights for neighborhood.

Description Usage Arguments Value Author(s) References

View source: R/segreg_prep.R

Description

Computes the weights for neighborhood.

Usage

1
getWeight(matrix, bandwidth, weightmethod = "gaussian")

Arguments

matrix

A data frame with travel time/distance matrix (origin, destination, travel_time).

bandwidth

A numeric objetc bandwidth selected to perform neighborhood (same unit of distance).

weightmethod

A string object to choose the method to be used: gaussian , bi-square and moving window. Defaults to gaussian.

Value

A data frame with weight value for internal use (process the population intensity).

Author(s)

Beatriz Moura dos Santos

References

Smith, Goodchild & Longley (2018). Geospatial Analysis. A Comprehensive Guide to PrinciplesTechniques and Software Tools. https://www.spatialanalysisonline.com/HTML/index.html


biamouras/accSeg documentation built on Nov. 19, 2020, 8:07 a.m.