The vector_type collapses down the class of base vectors into
something useful more for visualisation, yielding one of "datetime",
"numeric", "ordinal", "nominal" or "logical".
Usage
vector_type(x)
Arguments
x
a vector
See Also
default_scale, which uses this when picking the default
scale.