Skip to content

Commit f38a026

Browse files
author
pd
committed
partial match issue
git-svn-id: https://svn.r-project.org/R/trunk@89414 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent fa0b47c commit f38a026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/stats/R/lm.influence.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ dffits.lm <- function(model, infl = lm.influence(model, do.coef=FALSE),
242242
dffits.glm <- function(model, infl = lm.influence(model, do.coef=FALSE),
243243
res = weighted.residuals(model), ...)
244244
{
245-
if (estDisp(model$fam))
245+
if (estDisp(model$family))
246246
res <- res * sqrt(infl$hat)/(infl$sigma*(1-infl$hat))
247247
else
248248
res <- res * sqrt(infl$hat)/(sigma(model)*(1-infl$hat))

0 commit comments

Comments
 (0)