- ...
a matrix or data frame with incomplete data, where missing
values are coded as NA
. Alternatively, an expression
indicating the variable names in data
e.g.,
na.coverage(x1, x2, x3, data = dat)
. Note that the operators
.
, +
, -
, ~
, :
, ::
,
and !
can also be used to select variables, see 'Details'
in the df.subset
function.
- data
a data frame when specifying one or more variables in the
argument ...
. Note that the argument is NULL
when specifying a matrix or data frame for the argument ...
.
- tri
a character string or character vector indicating which triangular
of the matrix to show on the console, i.e., both
for
upper and lower triangular, lower
(default) for the
lower triangular, and upper
for the upper triangular.
- digits
an integer value indicating the number of decimal places to
be used for displaying proportions.
- as.na
a numeric vector indicating user-defined missing values,
i.e. these values are converted to NA
before conducting
the analysis.
- write
a character string naming a file for writing the output into
either a text file with file extension ".txt"
(e.g.,
"Output.txt"
) or Excel file with file extension
".xlsx"
(e.g., "Output.xlsx"
). If the file
name does not contain any file extension, an Excel file will
be written.
- append
logical: if TRUE
(default), output will be appended
to an existing text file with extension .txt
specified
in write
, if FALSE
existing text file will be
overwritten.
- check
logical: if TRUE
(default), argument specification is checked.
- output
logical: if TRUE
(default), output is shown on the console.