See Marazzi A. (1993), p.282-286 and p.297-298
lrfctd(icase, y, ci, vtheta, offset, wa, ni, i0, i1, i2)
List with the following components :
NULL if i0=0 else Li.
NULL if i1=0 else li , derivative of Li.
NULL if i2=0 else lip, derivative of li.
NULL if i0=0 else sum of the Li components.
Integer: 1 for Bernouilli, 2 for binomial and 3 for Poisson.
The y vector.
The c_i vector.
The x by theta vector.
The offset vector.
The a_i vector.
The integer n_i vector.
Integer: 1 to compute Li otherwise 0.
Integer: 1 to compute li otherwise 0.
Integer: 1 to compute lip otherwise 0.
Marazzi A. (1993) Algorithm, Routines, and S functions for Robust Statistics. Wadsworth & Brooks/cole, Pacific Grove, California. p.282-286 and p.297-298