This function calculates the amount of missing per row for describeMean
,
describeMedian
and custom description functions.
It will return invisibly when no missing values are present.
descGetMissing(
x,
html = TRUE,
number_first = TRUE,
percentage_sign = TRUE,
language = "en",
useNA.digits = 1,
...
)
vector
A vector with the missing estimate
The variable that you want the statistics for
If HTML compatible output should be used. If FALSE
it outputs LaTeX formatting
If the number should be given or if the percentage should be presented first. The second is encapsulated in parentheses (). This is only used together with the useNA variable.
If you want to suppress the percentage sign you can set this variable to FALSE. You can also choose something else that the default % if you so wish by setting this variable. Note, this is only used when combined with the missing information.
The ISO-639-1 two-letter code for the language of
interest. Currently only english is distinguished from the ISO
format using a ',' as the separator in the txtInt
function.
The number of digits to use for the
missing percentage, defaults to the overall digits
.
Passed on to describeFactors