Learn R Programming

TensorTest2D (version 1.1.2)

getGLMCoef: getGLMCoef: Computing the regression coefficients of generalized linear model.

Description

getGLMCoef: Computing the regression coefficients of generalized linear model.

Usage

getGLMCoef(X, y, family, offset_vec)

Value

list.

Arguments

X

A numerical matrix. Independent variable.

y

A numerical vector. Dependent variable.

family

Family of generalized linear model. Provide three options for model.(see more details in Details)

offset_vec

A numerical vector. Prior knowledge to be included in the predictors.