R/sf_geoda.R
as.geoda.Rd
Create an instance of geoda-class from an 'sf' object returned from 'st_read()' function, or a 'sp' object returned from 'readOGR()' function. NOTE: The table content is NOT used to create an instance of geoda-class.
as.geoda(obj, with_table = TRUE)
An instance of geoda-class