Override the summary() function for spatial weights

# S3 method for Weight
summary(object, ...)

Arguments

object

A Weight object

...

summary optional parameters

Value

A summary description of an instance of Weight-class

Examples

if (FALSE) {
library(sf)
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- st_read(guerry_path)
queen_w <- queen_weights(guerry)
summary(queen_w)
}