Skip to content
Prev 275375 / 398506 Next

Adding rows to a table with a loop

It surely can be done. One way is to keep track of selected variables
in a set. If a new variable is selected, you expand the selected set
and set the frequency to be one, otherwise just increase the freqency
of the selected variable (if... else).

Also, you might want to have a look at glmulti package which conducts
model selection out of all potential combinations, even including
interactions if you don't have many variables.

HTH

Weidong Gu
On Mon, Oct 24, 2011 at 11:58 AM, MJS <taranis.1986 at gmail.com> wrote: