Learn R Programming

ForLion (version 0.1.0)

nu_log_self: Function to calculate w = nu(eta) given eta for log link

Description

Function to calculate w = nu(eta) given eta for log link

Usage

nu_log_self(x)

Value

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

Arguments

x

Numeric vector of eta, eta = X*beta.

Examples

Run this code
eta = c(1,2,3,4)
nu_log_self(eta)

Run the code above in your browser using DataLab