Subject: weighted.residuals() ?
From: Martin Maechler (email@example.com)
Date: Thu 12 Aug 1999 - 20:10:53 EST
This function is not documented (and not available in S-plus).
I do think it is a useful utility (and should be documented).
weighted.residuals <- function(obj)
w <- weights(obj)
where I think the "[w!=0]" is really not at all desired.
It makes sum(weighted.residuals(..)^2) slightly faster,
however, weighted.residuals() should return a residual vector of proper
I'm about to drop the above "[w!=0]", document weighted.residuals
and fix deviance.lm(.) according to John Maindonald's bug report
(and use his suggestion to make cooks.distance() work for glm()'s ..).
Any objections ? [please in the next 5 hours or so...]
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: firstname.lastname@example.org
This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:07 EST