https://github.com/cran/MuMIn
Raw File
Tip revision: ddc00c25433a5cb83eca084328e596e54296b854 authored by Kamil BartoĊ„ on 21 September 2010, 08:14:37 UTC
version 0.13.17
Tip revision: ddc00c2
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