The class "numericOrNA" is a simple class union (setClassUnion) of "numeric" and "logical".

Objects from the Class

Since it is a virtual Class, no objects may be created from it.

Examples

showClass("numericOrNA")
#> Virtual Class "numericOrNA" [package "GA"]
#> 
#> No Slots, prototype of class "numeric"
#> 
#> Known Subclasses: 
#> Class "numeric", directly
#> Class "logical", directly
#> Class "integer", by class "numeric", distance 2
#> Class "double", by class "numeric", distance 2
#> Class "factor", by class "numeric", distance 3
#> Class "ordered", by class "numeric", distance 4