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

View source: R/summary.spqtest.R

summary.spqtestR Documentation

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 class 'spqtest'
summary(object, ...)

Arguments

object

An spqtest object including a list of htest.

...

further arguments passed to or from other methods.

Value

An object of class summary.spqtest

Author(s)

Fernando López fernando.lopez@upct.es
Román Mínguez roman.minguez@uclm.es
Antonio Páez paezha@gmail.com
Manuel Ruiz manuel.ruiz@upct.es

See Also

print.summary.spqtest

Examples

# 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)

spqdep documentation built on March 28, 2022, 5:06 p.m.