mkDummy {STAR} | R Documentation |
Using argument by
in s
or
te
of gam
requires dummy
variables to be set up. This is the job of this function.
mkDummy(x)
x |
a factor . |
A data.frame
with as many variables as there are
levels
in x
and as many rows as elements in x
.
Christophe Pouzat christophe.pouzat@gmail.com
## coming soon