glm2: GLM with arbitrary column names

Description

Substitute column names that are unsuitable for formulas and substitute back when returning results.

Usage

1
glm2(dat, y, xs, ...)

Arguments

dat

data.frame. Souce data to build GLM upon.

y

character. Column name of dependent variable.

xs

character. Column names of independent variable.

...

passed to glm.

Value

data.frame of coefficients.

Author(s)

Kaiyin Zhong, Fan Liu


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

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