sf_to_geoda: Create an instance of geoda-class from a 'sf' object

View source: R/sf_geoda.R

sf_to_geodaR Documentation

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

Description

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.

Usage

sf_to_geoda(sf_obj, with_table = TRUE)

Arguments

sf_obj

An instance of 'sf' 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


rgeoda documentation built on April 3, 2025, 10:55 p.m.

Related to sf_to_geoda in rgeoda...