View source: R/shiny_attributes.R
get_numberType | R Documentation |
returns the EML numberType (either 'real', 'integer', 'whole', or 'natural') of input values
get_numberType(values)
values |
(numeric/character) a vector of values, if vector is non-numeric will return NA |
the numberType of values
(either 'real', 'integer', 'whole', or 'natural').
## Not run: # To get numberType for each column in a data.frame: unlist(lapply(df, function(x) get_numberType(x))) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.