Learn R Programming

rgeoda (version 0.0.6)

sp_to_geoda: 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)

Arguments

sp_obj

An instance of 'sp' object

Value

An instance of geoda-class