sp_to_geoda function

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

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

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

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

Returns

An instance of geoda-class

  • Maintainer: Xun Li
  • License: GPL (>= 2)
  • Last published: 2025-03-06

Downloads (last 30 days):