Learn R Programming

spqdep (version 0.1.3.6)

summary.spqtest: Summary of estimated objects of class spqtest.

Description

This function summarizes estimated spqtest objects. The tables in the output include basic information for each test. blablabla...

Usage

# S3 method for spqtest
summary(object, ...)

Value

An object of class summary.spqtest

Arguments

object

An spqtest object including a list of htest.

...

further arguments passed to or from other methods.

Author

Fernando Lópezfernando.lopez@upct.es
Román Mínguezroman.minguez@uclm.es
Antonio Páezpaezha@gmail.com
Manuel Ruizmanuel.ruiz@upct.es

See Also

print.summary.spqtest

Examples

Run this code
# Example 1: With coordinates
N <- 100
cx <- runif(N)
cy <- runif(N)
coor <- cbind(cx,cy)
p <- c(1/6,3/6,2/6)
rho = 0.5
listw <- spdep::nb2listw(spdep::knn2nb(
              spdep::knearneigh(cbind(cx, cy), k = 4)))
fx <- dgp.spq(list = listw, p = p, rho = rho)
q.test <- Q.test(fx = fx, coor = coor, m = 3, r = 1)
summary(q.test)
plot(q.test)

Run the code above in your browser using DataLab