GWLelast.inner: Inner part of fitting GWLelast without parallel cores

Description Usage Arguments Value

Description

Inner part of fitting GWLelast without parallel cores

Usage

1
2
GWLelast.inner(x = x, y = y, coords = coords, W = W, lambda = lambda,
  alpha = 1, nlambda = nlambda)

Arguments

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.

Value

model Fitted model at location i.

cv.error Cross validation error.



Search within the GWLelast package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.