inst/tinytest/test-checkinfinite.R

## endometrial data from Heinze \& Schemper (2002) (see ?endometrial)
data("endometrial", package = "brglm2")
expect_warning({
    endometrial_ml <- glm(HG ~ I(-NV) + PI + EH, data = endometrial,
                          family = binomial("cloglog"))
})

expect_error(cie <- check_infinite_estimates(endometrial_ml))

Try the brglm2 package in your browser

Any scripts or data that you put into this service are public.

brglm2 documentation built on Oct. 12, 2023, 1:07 a.m.