https://github.com/cran/Hmisc
Tip revision: 1bdeced12eb6cef816b310fd5cc71361888eb7ab authored by Frank E Harrell Jr on 01 November 2016, 11:27:47 UTC
version 4.0-0
version 4.0-0
Tip revision: 1bdeced
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