Returns type of vector (character, factor, date, numeric).
Value
A string from c("character", "factor", "date", "numeric", "unknown")
Examples
#----------------------------------------------------------------------------
# type() examples.
#----------------------------------------------------------------------------
library(bkmisc)
type(1)
#> [1] "numeric"