nu_identity_self {ForLion}R Documentation

function to calculate w = nu(eta) given eta for identity link

Description

function to calculate w = nu(eta) given eta for identity link

Usage

nu_identity_self(x)

Arguments

x

Numeric vector of eta, eta = X*beta.

Value

A numeric vector representing the diagonal elements of the W matrix (nu(eta)).

Examples

eta = c(1,2,3,4)
nu_identity_self(eta)


[Package ForLion version 0.3.0 Index]