powered by
"number"
"numeric"
"complex"
It is a simple class union (setClassUnion) of "numeric" and "complex".
setClassUnion
showClass("number") stopifnot( is(1i, "number"), is(pi, "number"), is(1:3, "number") )
Run the code above in your browser using DataLab