Create an instance of geoda-class from a 'sf' object returned from 'st_read()' function. NOTE: The table content is NOT used to create an instance of geoda-class.
sf_to_geoda(sf_obj, with_table = TRUE)
An instance of geoda-class
An instance of 'sf' object
A boolean flag indicates if table is copied from sf object to create geoda object. Default is TRUE.