sp_to_geoda: Create an instance of geoda-class from a 'sp' object

View source: R/sf_geoda.R

sp_to_geodaR Documentation

Create an instance of geoda-class from a 'sp' object

Description

Create an instance of geoda-class from a 'sp' object. NOTE: The table content is NOT used to create an instance of geoda-class.

Usage

sp_to_geoda(sp_obj, with_table = TRUE)

Arguments

sp_obj

An instance of 'sp' object

with_table

A boolean flag indicates if table is copied from sf object to create geoda object. Default is TRUE

Value

An instance of geoda-class


GeoDaCenter/rgeoda documentation built on Dec. 20, 2024, 11:18 p.m.