https://github.com/cran/MuMIn
Raw File
Tip revision: 3cc30366fac3889f2d8e5a534f86eaccb19cd020 authored by Kamil BartoĊ„ on 01 March 2011, 11:42:45 UTC
version 1.0.0
Tip revision: 3cc3036
coeffs.R
`coeffs` <-
function (model) UseMethod("coeffs")

`coeffs.gls` <-
function (model) summary(model)$coefficients

`coeffs.lme` <-
function(model) model$coefficients$fixed

`coeffs.glmer` <-
`coeffs.lmer` <-
function(model) {
	ret <- model@fixef
	names(ret) <- model@cnames$.fixed
	return(ret)
}

`coeffs.mer` <-
function(model) model@fixef

`coeffs.spautolm` <-
function(model) model$fit$coefficients


`coeffs.default` <-
function(model) coef(model)
back to top