https://github.com/cran/Hmisc
Tip revision: ffaa7df0d13fef0eb7566405cc8d47eb60866db7 authored by Charles Dupont on 22 January 2009, 21:58:09 UTC
version 3.5-0
version 3.5-0
Tip revision: ffaa7df
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