logit link function

Description

calculate the values of logit link

Usage

1
logit(X, beta)

Arguments

X

A matrix, the design matrix.

beta

A vector, the coefficients.

Value

An vector of the values of logit link.

Examples

1
logit(matrix(c(1, 0.5, -0.2, 0.3), 2), c(-0.5, -3)) # 0.5249792, 0.2404891