From thomas@biostat.washington.edu  Thu Oct  2 00:11:20 1997
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Wed, 1 Oct 1997 16:11:20 -0700 (PDT)
Subject: R-alpha: R-beta: hat
In-Reply-To: <199710010207.OAA22329@stat1.stat.auckland.ac.nz>
Message-ID: <Pine.SUN.3.95.971001160904.8966C-100000@troi>


The hat() function, returning the diagonal of the hat matrix, currently
works only on matrices and doesn't work with weights.  Could we make it
return lm.influence(x)$hat when inherits(x,"lm")?


Thomas Lumley
------------------------------------------------------+------
Biostatistics		: "Never attribute to malice what  :
Uni of Washington	:  can be adequately explained by  :
Box 357232		:  incompetence" - Hanlon's Razor  :
Seattle WA 98195-7232	:				   :
------------------------------------------------------------


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: R-beta: hat
Thomas Lumley