drop | R Documentation |
If an onion has zero imaginary part, drop it
## S4 method for signature 'onion'
drop(x)
x |
onion |
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).
Methods are given for onion
and onionmat
objects.
Robin K. S. Hankin
a <- rsoct()
a
a-Im(a)
drop(a-Im(a))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.