t: Dienstag, 29. Oktober 2013 21:47
To: Thaler,Thorn,LAUSANNE,Applied Mathematics; R-Help Mailing List
(r-help@r-project.org)
Subject: Re: [R] Automatically Remove Aliased Terms from a Model
Hi Thorn,
it is not entirely clear (at least for me) what you want to accomplish.
an easy and fail safe way
Hi Thorn,
it is not entirely clear (at least for me) what you want to accomplish.
an easy and fail safe way of extracting used terms in a (g)lm-object is
names(model.frame(l))
if you want to extract terms to finally select a model, have a look at
drop1 and/or MASS::dropterm
Hth
Am 28.10.2013 17:1
Dear all,
I am trying to implement a function which removes aliased terms from a model.
The challenge I am facing is that with "alias" I get the aliased coefficients
of the model, which I have to translate into the terms from the model formula.
What I have tried so far:
--8<---
3 matches
Mail list logo