https://github.com/cran/Hmisc
Tip revision: b3af9c0b37f7854d668d17579dd9c690bfa60d9f authored by Charles Dupont on 10 February 2012, 16:36:05 UTC
version 3.9-2
version 3.9-2
Tip revision: b3af9c0
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