R/binomial.R

Defines functions cbindResponse

#
# Binomial models with cbind responses need special treatment
#

# does the model have a cbind response?
cbindResponse <- function(object) {

    family(object)$family=="binomial" && is.matrix(model.response(object@frame))
}
pitakakariki/simr documentation built on April 22, 2023, 12:07 a.m.