| is.discrete | R Documentation | 
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")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.