mkDummy: Generates a Data Frame of Dummy Variables for Use in gam

Description Usage Arguments Value Author(s) See Also Examples

View source: R/mkDummy.R

Description

Using argument by in s or te of gam requires dummy variables to be set up. This is the job of this function.

Usage

1

Arguments

x

a factor.

Value

A data.frame with as many variables as there are levels in x and as many rows as elements in x.

Author(s)

Christophe Pouzat christophe.pouzat@gmail.com

See Also

mkGLMdf, gam, s, te

Examples

1
## coming soon


STAR documentation built on May 21, 2017, 12:46 a.m.
Search within the STAR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.