Fitting geographically weighted logistic elastic net regression
GWLelast.est(x, y, coords, D = NULL, alpha = 1, lambda = NULL,
nlambda = NULL, gweight = c("gwr.Gauss", "gwr.bisquare"),
longlat = TRUE, bw = bw)Covariates.
Outcome binary variable.
2 columns matrix including "longitude" and "latitude".
Distance matrix.
The elasticnet mixing parameter [0,1] in glmnet package.
Optional user-supplied lambda sequence in glmnet package.
The number of lambda values in glmnet package.
geographical kernel function in spgwr package.
Indicate if the coords parameter are sperically calculated.
bandwidth of geographical kernel function.
model: Fitted model at location i.
error: Cross validation error.