summary.spjctest: Summary of estimated objects of class _spjctest_.

View source: R/summary.spjctest.R

summary.spjctestR Documentation

Summary of estimated objects of class spjctest.

Description

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

Usage

## S3 method for class 'spjctest'
summary(object, ...)

Arguments

object

An spjctest object including a list of htest.

...

further arguments passed to or from other methods.

Value

An object of class summary.spjctest

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, joincount.test, joincount.multi

Examples

## Multinomial + Binomial using a sf multipolygon
data("provinces_spain")
sf::sf_use_s2(FALSE)
provinces_spain$Male2Female <- factor(provinces_spain$Male2Female > 100)
levels(provinces_spain$Male2Female) = c("men","woman")
provinces_spain$Older <- cut(provinces_spain$Older, breaks = c(-Inf,19,22.5,Inf))
levels(provinces_spain$Older) = c("low","middle","high")
f1 <- ~ Older + Male2Female
jc1 <- jc.test(formula = f1,
               data = provinces_spain,
               distr = "mc",
               alternative = "greater",
               zero.policy = TRUE)
summary(jc1)

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