Description Usage Arguments Value
Fitting geographically weighted logistic elastic net regression
1 2 3 |
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. |
model: Fitted model at location i.
error: Cross validation error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.