missChk | R Documentation |
Produce a Report Section Detailing Missing Values in a Dataset
missChk(
data,
use = NULL,
exclude = NULL,
type = c("report", "seq"),
maxpat = 15,
maxcomb = 25,
excl1pat = TRUE,
sortpatterns = TRUE,
prednmiss = FALSE,
omitpred = NULL,
baselabel = NULL,
...
)
data |
data frame or table to analyze |
use |
a formula or character vector specifying which variables to consider if not all those in |
exclude |
a formula or character vector specifying which variables to exclude from consideration |
type |
specify |
maxpat |
maximum number of missing data patterns allowed when counting occurrences of all combinations of variables' |
maxcomb |
maximum number of combinations for which to produce a combination dot plot |
excl1pat |
set to |
sortpatterns |
set to |
prednmiss |
set to |
omitpred |
a formula or character vector specifying a list of predictors not to use when predicting number of missing variables |
baselabel |
base label for Quarto tabs made with |
... |
passed to |
Quantifies frequencies of missing observations on a variable and missing variables on an observaton and produces variables tables and (depending on the number of NA
s) multiple graphic displays in Quarto tabs. The results are best understood by referring to this.
nothing; outputs Quarto/RMarkdown text and tabs for a full report section
Frank Harrell
## Not run:
missChk(mydata)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.