powered by
a function that calculates the space matrix for AST model by determining adjacent locations and give them equal weights 1 and 0 for non-neighbors.
calcSpaceMat(adjacent.mat, par.space = 0.9)
a matrix for adjacent locations with weight 1 and 0 for non-neighbors. Rownames of this matrix must be match with location variable.
A parameter which specify the amount of correlation between adjacent locations.
a square matrix
# NOT RUN { library("AST") data(data.adjacent.mat,package="AST") calcSpaceMat(data.adjacent.mat,par.space=0.9) # }
Run the code above in your browser using DataLab