Drop zero imaginary parts of an onionic vector
If an onion has zero imaginary part, drop it
## S4 method for signature 'onion' drop(x)
x
Generally, drop means coercion of an object to a less general type without loss of information. In many contexts, function drop() means to lose redundant information. This is not done by default (doing so would result in unexpected coercions).
drop()
Methods are given for onion and onionmat objects.
onion
onionmat
Robin K. S. Hankin
a <- rsoct() a a-Im(a) drop(a-Im(a))
Useful links