search for: zbk3

Displaying 1 result from an estimated 1 matches for "zbk3".

Did you mean: zbk
2012 Nov 08
1
Package "glmulti": Include a variable in ALL models
...the examples (http://www.inside-r.org/packages/cran/glmulti/docs/glmulti). To include the variable "Geslacht" in all models: > glm.redefined = function(formula, data, always="", ...) {glm(as.formula(paste(deparse(formula), always)), data=data, ...)} > output<-glmulti(ZBK3~ Onafhankelijk*Zelfconcept*Hyperactief*Populariteit, data=IME, fitfunc=glm.redefined, level=2, crit=aic, method="g", always= "+Geslacht") However, in the output, the variable "Geslacht" is not included... : > print(output) glmulti.analysis Method: g / Fitting: glm...