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
x | The object for which the |
---|---|
value | New value |
The classes for which x
is intended to be called,
given as a vector of characters.
#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"