Description Usage Arguments Value
Inner part of fitting GWLelast without parallel cores
1 2 | GWLelast.inner(x = x, y = y, coords = coords, W = W, lambda = lambda,
alpha = 1, nlambda = nlambda)
|
x |
Covariates. |
y |
Outcome binary variable. |
coords |
2 columns matrix including "longitude" and "latitude". |
W |
Weight matrix. |
lambda |
Optional user-supplied lambda sequence in glmnet package. |
alpha |
The elasticnet mixing parameter [0,1] in glmnet package. |
nlambda |
The number of lambda values in glmnet package. |
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.