Open tianjinwolaile opened 5 months ago
there is no error or warning ,it is my file have error?
tidyrgeoda
invokes rgeoda
to do local spatial autocorrelation statistics.
When you use read_geoda
, you actually call read_gal
read_gwt
read_swm
in rgeoda
. You can try it use rgeoda::read_gal
.
I guess it's a problem with your gal file. How did you get the gal file?
Try to open it in GeoDa or any other GUI software to determine if there is a problem with your file.
i get the file by geoda software,to get the weight matrix,thank you
---Original--- From: "Wenbo @.> Date: Thu, Jun 13, 2024 15:08 PM To: @.>; Cc: @.**@.>; Subject: Re: [SpatLyu/tidyrgeoda] why no result (Issue #1)
tidyrgeoda invokes rgeoda to do local spatial autocorrelation statistics.
When you use read_geoda, you actually call read_gal read_gwt read_swm in rgeoda. You can try it use rgeoda::read_gal.
I guess it's a problem with your gal file. How did you get the gal file?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
if there is an example file of gal,i have a try,thank you
---Original--- From: "Wenbo @.> Date: Thu, Jun 13, 2024 15:10 PM To: @.>; Cc: @.**@.>; Subject: Re: [SpatLyu/tidyrgeoda] why no result (Issue #1)
Try to open it in GeoDa or any other GUI software to determine if there is a problem with your file.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Good. can you try to test whether it can be used in GeoDa GUI software?
tidyrgeoda::read_geoda(file_path="D:\R_library\trypackage\mvstats\inst\extdata\中华人民共和国.gal") i have waited for a long time ,but there is no result,why?
i try producting a new gal file,it still no result
---Original--- From: "Wenbo @.> Date: Thu, Jun 13, 2024 15:14 PM To: @.>; Cc: @.**@.>; Subject: Re: [SpatLyu/tidyrgeoda] why no result (Issue #1)
Good. can you try to test whether it can be used in GeoDa GUI software?
tidyrgeoda::read_geoda(file_path="D:\R_library\trypackage\mvstats\inst\extdata\中华人民共和国.gal") i have waited for a long time ,but there is no result,why?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
The problem is that id_vec
is not synchronized when reading and writing. The GeoDa desktop should use a default id_vec but tidyrgeoda uses tibble::tibble(id_v = 1:wt$num_obs)
.
I make a new release of tidyrgeoda, wait a little time
ok
---Original--- From: "Wenbo @.> Date: Thu, Jun 13, 2024 15:50 PM To: @.>; Cc: @.**@.>; Subject: Re: [SpatLyu/tidyrgeoda] why no result (Issue #1)
I make a new release of tidyrgeoda, wait a little time
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
I have tried a lot,I am now certain that the bug is from the rgeoda package see [here](https://github.com/GeoDaCenter/rgeoda/issues/47), but this does not affect the main functionality of rgeoda
and tidyrgeoda
ok
---Original--- From: "Wenbo @.> Date: Thu, Jun 13, 2024 17:19 PM To: @.>; Cc: @.**@.>; Subject: Re: [SpatLyu/tidyrgeoda] why no result (Issue #1)
I have tried a lot,I am now certain that the bug is from the rgeoda package see here, but this does not affect the main functionality of rgeoda and tidyrgeoda
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
tidyrgeoda::read_geoda(file_path="D:\R_library\trypackage\mvstats\inst\extdata\中华人民共和国.gal") i have waited for a long time ,but there is no result,why?