Learn R Programming

sigr (version 1.1.5)

wrapChiSqTest.summary.glm: Format ChiSqTest from model summary.

Description

Format ChiSqTest from model summary.

Usage

# S3 method for summary.glm
wrapChiSqTest(x, ...)

Value

wrapped test

Arguments

x

summary(glm(family=binomial)) object.

...

extra arguments (not used)

Examples

Run this code

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)
sum <- summary(model)
render(wrapChiSqTest(sum),pLargeCutoff=1,format='ascii')


Run the code above in your browser using DataLab