Learn R Programming

dataMaid (version 1.4.1)

defaultFactorSummaries: Default summary functions for factor variables

Description

Default options for which summaries to apply on factor type variables in check and makeDataReport, possibly user-modified by adding extra function names using add or removing default function names with remove.

Usage

defaultFactorSummaries(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

codevariableType, countMissing, uniqueValues, centralValue

Examples

Run this code
#remove "countMissing" for the summaries:
defaultFactorSummaries(remove = "countMissing")

Run the code above in your browser using DataLab