Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read_gal can't work #47

Open
SpatLyu opened this issue Jun 13, 2024 · 0 comments
Open

read_gal can't work #47

SpatLyu opened this issue Jun 13, 2024 · 0 comments

Comments

@SpatLyu
Copy link

SpatLyu commented Jun 13, 2024

library(rgeoda)
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- sf::read_sf(guerry_path)
queen_w <- queen_weights(guerry)
save_weights(queen_w, guerry['CODE_DE'], './guerry1.gal')
w <- read_gal('./guerry1.gal', guerry['CODE_DE'][[1]])

The last line of code w <- read_gal('./guerry1.gal', guerry['CODE_DE'][[1]]) does not work properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant