condense.onion {onion} | R Documentation |
Condense an onionic vector into a string vector showing whether the elements are positive, zero or negative.
## S3 method for class 'onion' condense(x)
x |
An onionic vector |
Returns a string vector of the same length as x
whose elements
are length 4 or 8 strings for quaternions or octonions respectively.
The characters are “+
” for a positive, “-
”
for a negative, and “0
” for a zero, element.
Robin K. S. Hankin
condense(roct(3))