geoda_open {rgeoda} | R Documentation |
Create an instance of geoda-class by reading from an ESRI Shapefile dataset
Description
Create an instance of geoda-class by reading from an ESRI Shapefile dataset.
Usage
geoda_open(ds_path)
Arguments
ds_path |
(character) The path of the spatial dataset |
Value
An instance of geoda-class
Examples
## Not run:
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- geoda_open(guerry_path)
guerry_df <- as.data.frame(guerry) # access as a data.frame
head(guerry_df)
## End(Not run)
[Package rgeoda version 0.0.10-4 Index]