Learn R Programming

dataMaid (version 1.4.1)

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)

Value

A list of function names (as character strings).

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

See Also

variableType, countMissing, uniqueValues, centralValue

Examples

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

Run the code above in your browser using DataLab