https://github.com/cran/MuMIn
Raw File
Tip revision: 4b49b56bb9ac3e480120119fbc1e69bba4f82259 authored by Kamil BartoĊ„ on 18 October 2013, 17:09:54 UTC
version 1.9.11
Tip revision: 4b49b56
is.R
.isREMLFit <-
isREML <- 
function(x) {
	if (inherits(x, "mer")) return (x@dims[["REML"]] != 0)
	if (inherits(x, "merMod")) return (lme4::isREML(x))
	if (inherits(x, c("lme", "gls", "gam")) && !is.null(x$method))
		return(x$method %in% c("lme.REML", "REML"))
	if (inherits(x, c("lmer", "glmer")))
		return(x@status["REML"] != 0)
	return(FALSE)
}

isGEE <- 
function(object) 
inherits(object, c("geeglm", "geese", "gee", "yagsResult"))
back to top