options(na.detail.response=TRUE)
.
This
na.action
is primarily for use with
describe.formula
.
na.keep(mf)
"na.action"
attribute
Frank Harrell
Department of Biostatistics
Vanderbilt University
f.harrell@vanderbilt.edu
options(na.action="na.keep", na.detail.response=TRUE) x1 <- runif(20) x2 <- runif(20) x2[1:4] <- NA y <- rnorm(20) describe(y ~ x1*x2)