View source: R/summary.spqtest.R
summary.spqtest | R Documentation |
This function summarizes estimated spqtest objects. The tables in the output include basic information for each test. blablabla...
## S3 method for class 'spqtest' summary(object, ...)
object |
An spqtest object including a list of htest. |
... |
further arguments passed to or from other methods. |
An object of class summary.spqtest
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 |
print.summary.spqtest
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.