TRUE iff the type string is a certain type, e.g.
isIntegerTypeString checks if we have “integer” or
“integervector”, and isVectorTypeString check if we have
“*vector”.
isNumericTypeString(type, include.int = TRUE)isIntegerTypeString(type)
isCharacterTypeString(type)
isDiscreteTypeString(type, include.logical = TRUE)
isLogicalTypeString(type)
isVectorTypeString(type)
(logical(1))
(character(1))
Type string.
(logical(1))
Are integers also considered to be numeric?
Default is TRUE.
(logical(1))
Are logicals also considered to be discrete?
Default is TRUE.