wrapChiSqTest.glm: Format ChiSqTest from model.

View source: R/ChiSqTest.R

wrapChiSqTest.glmR Documentation

Format ChiSqTest from model.

Description

Format ChiSqTest from model.

Usage

## S3 method for class 'glm'
wrapChiSqTest(x, ...)

Arguments

x

glm logistic regression model (glm(family=binomial))

...

extra arguments (not used)

Value

wrapped test

Examples


d <- data.frame(x=c(1,2,3,4,5,6,7,7),
      y=c(TRUE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,FALSE))
model <- glm(y~x,data=d,family=binomial)
summary(model)
render(wrapChiSqTest(model),pLargeCutoff=1,format='ascii')



sigr documentation built on Aug. 20, 2023, 9:06 a.m.