| .most_general_class.aidR | R Documentation |
Given the classes of a single column as it appears across several data
frames, returns the name of the most general atomic type that can hold all
of them, following the hierarchy
logical < integer < numeric < character.
If any supplied class is not one of the known atomic types (e.g.
Date), "character" is returned.
.most_general_class.aidR(classes)
classes |
Character vector of class names (typically the first element
of |
A length-one character string, one of "logical",
"integer", "numeric" or "character".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.