Determine if a vector is discrete.
A discrete vector is a factor or a character vector
is.discrete(x)
x |
vector to test |
is.discrete(1:10) is.discrete(c("a", "b", "c")) is.discrete(factor(c("a", "b", "c")))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.