coerceMode | R Documentation |
This function verifies if an R vector is possibly numeric, and further if the numbers inside are whole numbers.
coerceMode(x)
x |
An atomic R vector |
An R vector of coerced mode.
Adrian Dusa
obj <- c("1.0", 2:5)
is.integer(coerceMode(obj))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.