View source: R/report_missing.R
report_missing | R Documentation |
This function use the same method as described in the cctab
,
reporting missingness of the variables. It includes which form is the
variable from, set as 'Derived' if not from DLU file. And missing percentage
with which subjects are have missing value for that particular variable.
This is internal function, not intend to use it directly by user.
report_missing(
data,
vars,
select,
row_split = NULL,
subjid_string = getOption("cctu_subjid_string", default = "subjid")
)
data |
A |
select |
a named vector with as many components as row-variables. Every element of 'select' will be used to select the individuals to be analyzed for every row-variable. Name of the vector corresponds to the row variable, element is the selection. |
row_split |
Variable that used for splitting table rows, rows will be split using this variable. Useful for repeated measures. |
subjid_string |
A character naming the column used to identify subject,
default is |
This requires access to a data.frame of DLU file, this will be
derived from the package environment
and should be set using get_dlu
.
A data frame
cttab
dump_missing_report
get_missing_report
reset_missing_report
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.