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
2 matches
Mail list logo