zero | R Documentation |
Test for a frab
object's being zero (empty).
zero(...)
is.zero(x)
is.empty(x)
x |
Object of class |
... |
Further arguments (currently ignored) |
Function zero()
returns the empty frab
object; this is
the additive identity 0
with property x+0=0+x=x
.
Function is.zero()
returns TRUE
if its argument is
indeed the zero object.
Function is.empty()
is a synonym for is.zero()
.
Sometimes one is thinking about the free Abelian group, in which case
is.zero()
makes more sense, and sometimes one is thinking about
maps and tables, in which case is.empty()
is more appropriate.
Function zero()
returns the zero frab object, function
is.zero()
a Boolean
Robin K. S. Hankin
zero()
zero() + zero()
x <- rfrab()
x+zero() == x
is.zero(zero())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.