R/dffits.manylm.R

dffits.manylm <- 
function (model, infl = manylm.influence(model, do.coef = FALSE), 
    res = weighted.residuals(model)) {

    res <- res * sqrt(infl$hat)/(infl$sigma * (1 - infl$hat))
    res[is.infinite(res)] <- NaN

    res
}

# setGeneric("dffits")   
#setMethod("dffits", "manylm", dffits.manylm)

Try the mvabund package in your browser

Any scripts or data that you put into this service are public.

mvabund documentation built on March 18, 2022, 7:25 p.m.