https://github.com/cran/Hmisc
Tip revision: 7d8be7014490ce10a945c8d4a155ffc4c3bf46c3 authored by Charles Dupont on 06 April 2006, 00:00:00 UTC
version 3.1-2
version 3.1-2
Tip revision: 7d8be70
na.keep.s
na.keep <- function(mf)
{
w <- na.detail.response(mf)
if(length(w))
oldClass(w) <- 'keep' ## 9Apr02
attr(mf, "na.action") <- w
mf
}
naprint.keep <- function(x, ...)
{
if(length(x)) {
cat("\nStatistics on Response by Missing/Non-Missing Status of Predictors\n\n")
print(oldUnclass(x))
cat("\n")
}
invisible()
}
naresid.keep <- function(omit, x, ...) x