Skip to content
Prev 345556 / 398502 Next

Submodel selection using dredge and gam (mgcv)

Hi Arnaud,
your question has in fact nothing to do with gam or model selection. 
What you are asking is: what is the logical expression that yields True 
when AB is False or both A and B are True. Now replace the words with 
operators (!AB | (A & B)) and voil?.

See also:
help("Logic", "base")
fortunes::fortune(350)

best,
kamil
On 2014-11-10 21:26, Arnaud Mosnier wrote: