https://github.com/cran/Hmisc
Tip revision: 256ea0f4576fef9b8641bd64e4d800ac668b805f authored by Frank E Harrell Jr on 29 November 2020, 05:00:16 UTC
version 4.4-2
version 4.4-2
Tip revision: 256ea0f
na.keep.s
na.keep <- function(mf)
{
w <- na.detail.response(mf)
if(length(w))
class(w) <- 'keep'
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(unclass(x))
cat("\n")
}
invisible()
}
naresid.keep <- function(omit, x, ...) x