powered by
Function to calculate w = nu(eta) given eta for log link
nu_log_self(x)
A numeric vector representing the diagonal elements of the W matrix (nu(eta)).
Numeric vector of eta, eta = X*beta.
eta = c(1,2,3,4) nu_log_self(eta)
Run the code above in your browser using DataLab