https://github.com/cran/MuMIn
Raw File
Tip revision: a39c015201a506891aac04f52f288b861f8a1988 authored by Kamil BartoĊ„ on 30 January 2012, 00:00:00 UTC
version 1.7.2
Tip revision: a39c015
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.default` <-
function(model) coef(model)
back to top