getType | R Documentation |
getType
getType(vec)
vec |
A vector of any choice, to detect between numeric or character |
type of the given vector
Jayachandra N
getType(iris$Species)
getType(as.factor(c(1,0,1,1,0,NA,1, NULL)))
getType(as.factor(c(1, NULL,0,1,1,0,1,'a')))
getType(c(1,2,3,4, NA))
getType(letters[1:4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.