defaultHavenlabelledSummaries {dataMaid} | R Documentation |
Default summary functions for haven_labelled variables
Description
Default options for which summaries to apply on
haven_labelled type variables in check
and makeDataReport
,
possibly user-modified by adding extra function names using add
or
removing default function names with remove
.
Usage
defaultHavenlabelledSummaries(remove = NULL, add = NULL)
Arguments
remove |
Character vector of function names. Checks to remove from the returned vector |
add |
Character vector of function names. Checks to add to the returned vector |
Value
A list of function names (as character strings).
See Also
variableType
,
countMissing
, uniqueValues
, centralValue
Examples
#remove "centralValue":
defaultHavenlabelledSummaries(remove = "centralValue")
[Package dataMaid version 1.4.1 Index]