glm2: GLM with arbitrary column names

Description Usage Arguments Value Author(s)

View source: R/0_glm2.R

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


CollapsABEL documentation built on May 29, 2017, 9:43 a.m.