Skip to content
Prev 259052 / 398502 Next

Using $ accessor in GAM formula

Gene,

David has given you the preferred code. I just want to
point out that the $-accessor is often not the best
thing to use. Both dat[["y"]] and dat[, "y"] will work
just fine.

Peter Ehlers
On 2011-05-05 12:06, David Winsemius wrote: