If the object, x, is itself of class checkFunction, summaryFunction or visualFunction, the contents of x's attribute classes is returned. Otherwise, NULL is returned.

classes(x)

classes(x) <- value

Arguments

x

The object for which the classes attribute should be extracted.

value

New value

Value

The classes for which x is intended to be called, given as a vector of characters.

Examples

#Extract the classes of the checkFunction identifyMissing classes(identifyMissing)
#> [1] "character" "Date" "factor" "integer" "labelled" "logical" #> [7] "numeric"
#Extract the classes of the summaryFunction minMax classes(minMax)
#> [1] "integer" "numeric" "Date"
#Extract the classes of the visualFunction basicVisual classes(basicVisual)
#> [1] "character" "Date" "factor" "integer" "labelled" "logical" #> [7] "numeric"