
A summaryFunction
, intended to be called from
summarize
(and makeDataReport
), which counts the
number of missing (NA
) values in a variable.
countMissing(v, ...)
A variable (vector).
Not in use.
A summaryResult
object with the following entries:
$feature
("No. missing obs."), $result
(the number and percentage
missing observations) and $value
(the number of missing observations).
summarize
, allSummaryFunctions
,
summaryFunction
, summaryResult
# NOT RUN {
countMissing(c(1:100, rep(NA, 10)))
# }
Run the code above in your browser using DataLab