spat_closeness: Calculate Spatial closeness

View source: R/SpatialCloseness.R

spat_closenessR Documentation

Calculate Spatial closeness

Description

This function allows you calculate spatial closeness of nodes at a particular alpha

Usage

spat_closeness(graph, alpha, rank = TRUE)

Arguments

graph

igraph object with V(g)$X and V(g)$Y having the X and Y co-ordinates of each node.

alpha

specifies alpha value at which closeness is to be calculted

rank

decides whether to return rank of nodes of raw values. Defaults to TRUE meaning ranks are to be calculated


diptosarkar/SpatNet documentation built on April 19, 2022, 9:15 a.m.