missChk {qreport} | R Documentation |
missChk
Description
Produce a Report Section Detailing Missing Values in a Dataset
Usage
missChk(
data,
use = NULL,
exclude = NULL,
type = c("report", "seq"),
maxpat = 15,
maxcomb = 25,
excl1pat = TRUE,
sortpatterns = TRUE,
prednmiss = FALSE,
omitpred = NULL,
baselabel = NULL,
...
)
Arguments
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 |
Details
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.
Value
nothing; outputs Quarto/RMarkdown text and tabs for a full report section
Author(s)
Frank Harrell
Examples
## Not run:
missChk(mydata)
## End(Not run)