Perform glm iteratively through a number of independent variables with fixed dependent variables and covariates.

Description

Perform glm iteratively through a number of independent variables with fixed dependent variables and covariates.

Usage

1
glmIter(dat, y, xs = NULL, covars = character(), ...)

Arguments

dat

data.frame

y

character. Name of dependent variable columns.

xs

character. Names of independent variable columns.

covars

character. Names of covriate columns.

...

passed to glm.

Value

matrix of coefficients

Author(s)

Kaiyin Zhong, Fan Liu

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.