lbb220 / GWmodel

GWmodel package
22 stars 13 forks source link

Unable to estimate a Generalized GWR: "object 'y.adj' not found" #18

Open JamieSBenson opened 2 years ago

JamieSBenson commented 2 years ago

Hi there! Very strange issue. I've removed and reinstalled GWmodel, RStudio, R, while troubleshooting this, and am running the same script on the same dataset as last week when it was working just fine. Nothing has changed.

Yet, when I execute my command: gwr.result.current <- ggwr.basic(form, data = akbgs_rate, kernel = "bisquare", adaptive = T, bw=bw.f1, family="Poisson"), it immediately returns the following:

Error in gw_reg(X, y.adj, W.i, FALSE, i) : object 'y.adj' not found In addition: Warning message: In proj4string(data) : CRS object has comment, which is lost in output; in tests, see https://cran.r-project.org/web/packages/sp/vignettes/CRS_warnings.html Error in ggwr.basic(form, data = akbgs_rate, kernel = "bisquare", adaptive = F, : object 'res1' not found

Anyone have any clues what could be going on here? Thanks so much.

lbb220 commented 2 years ago

Hi, can you send some reporduciable code and example data to look into this issue.

It seems to be an internal issue in the package.

@.***

From: Jamie Benson Date: 2022-01-15 01:40 To: lbb220/GWmodel CC: Subscribed Subject: [lbb220/GWmodel] Unable to estimate a Generalized GWR: "object 'y.adj' not found" (Issue #18) Hi there! Very strange issue. I've removed and reinstalled GWmodel, RStudio, R, while troubleshooting this, and am running the same script on the same dataset as last week when it was working just fine. Nothing has changed. Yet, when I execute my command: gwr.result.current <- ggwr.basic(form, data = akbgs_rate, kernel = "bisquare", adaptive = T, bw=bw.f1, family="Poisson"), it immediately returns the following: Error in gw_reg(X, y.adj, W.i, FALSE, i) : object 'y.adj' not found In addition: Warning message: In proj4string(data) : CRS object has comment, which is lost in output; in tests, see https://cran.r-project.org/web/packages/sp/vignettes/CRS_warnings.html Error in ggwr.basic(form, data = akbgs_rate, kernel = "bisquare", adaptive = F, : object 'res1' not found Anyone have any clues what could be going on here? Thanks so much. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>