sig.lisamkv: Markov for Local Indicators of Spatial Association including...

View source: R/sig.lisamkv.R

sig.lisamkvR Documentation

Markov for Local Indicators of Spatial Association including a significant state

Description

Compute the Markov transition matrix for Local Indicators of Spatial Association based in the significance of the local moran indicator

Usage

sig.lisamkv(x, W, nsim = 999, ...)

Arguments

x

numerical matrix of n spatial unit ans t time periods

W

an objet of listw class.

nsim

number of random spatial permutations for calculation of pseudo p-values, by default is set in 999

...

other argument to quad function. See quad for more infomation.

Details

first the the Local Moran indicator is compute useing the nsim number of permutation. The non significant indication is considere as an state of the markow chain.

Value

a list cantaning three object

move

a data frame indicating which type of LISA transition occurred

lisamatrix

markov LISA transition matrix

p.lisamatrix

markov probability LISA transition matrix

Examples

## Not run: 
data(us48)
data <- as.data.frame(us48)
w1queen <- nb2listw(poly2nb(us48))
ll <- sig.lisamkv(data[,10:90],w1queen,999,geoda=FALSE)

## End(Not run)

amvallone/estdaR documentation built on March 30, 2024, 9:38 p.m.