read_swm: Read a .SWM file

View source: R/weights.R

read_swmR Documentation

Read a .SWM file

Description

Create a spatial weights object from a .SWM file

Usage

read_swm(file_path, id_vec = numeric())

Arguments

file_path

The file paht of the .SWM file

id_vec

The id_vec is the id values used in the .SWM file. e.g. c(0,1,2,3,...)

Value

A weights object


rgeoda documentation built on April 3, 2025, 10:55 p.m.

Related to read_swm in rgeoda...