dataMaid (version 1.4.0)

defaultHavenlabelledSummaries: 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

Run this code
# NOT RUN {
#remove "centralValue":
defaultHavenlabelledSummaries(remove = "centralValue")

# }

Run the code above in your browser using DataLab