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