https://github.com/cran/Hmisc
Tip revision: bc6982d0edbd3b0021200ef0f4e62254491a8af9 authored by Charles Dupont on 10 July 2013, 16:29:37 UTC
version 3.12-2
version 3.12-2
Tip revision: bc6982d
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