Usage
SpatialFiltering(formula, lagformula, data, nb, glist = NULL, style = "C",
zero.policy = FALSE, tol = 0.1, zerovalue = 1e-04, ExactEV = FALSE,
symmetric = TRUE, alpha=NULL, alternative="two.sided", verbose=TRUE)
Arguments
formula
a symbolic description of the model to be fit, assuming a spatial error representation; when lagformula is given, it should include only the response and the intercept term
lagformula
An extra one-sided formula to be used when a spatial lag representation is desired; the intercept is excluded within the function if present because it is part of the formula argument, but excluding it explicitly in the lagformula argument in the presence
data
an optional data frame containing the variables in the model
glist
list of general weights corresponding to neighbours
style
style
can take values W, B, C, U, and S
zero.policy
If FALSE stop with error for any empty neighbour sets, if TRUE permit the weights list to be formed with zero-length weights vectors
tol
tolerance value for convergence of spatial filtering
zerovalue
eigenvectors with eigenvalues of an absolute value smaller than zerovalue will be excluded in eigenvector search
ExactEV
Set ExactEV=TRUE to use exact expectations and variances rather than the expectation and variance of Moran's I from the previous iteration, default FALSE
symmetric
Should the spatial weights matrix be forced to symmetry, default TRUE
alpha
if not NULL, used instead of the tol= argument as a stopping rule to choose all eigenvectors up to and including the one with a probability value exceeding alpha.
alternative
a character string specifying the alternative hypothesis, must be one of greater, less or two.sided (default).
verbose
if TRUE report eigenvectors selected