Compare-methods | R Documentation |
Methods for comparison (greater than, etc) in package Brobdingnag
As for min()
and max()
, comparison is not entirely
straightforward in the presence of NA
s.
The low-level workhorses are .Brob.equal()
for equality and
.Brob.greater()
for ‘strictly greater than’. All other
comparisons are calculated by combining these two.
Comparison [function .Brob.compare()
] explicitly tests for a
zero length argument and if given one returns logical(0)
to
match base behaviour.
a <- as.brob(10)^(0.5 + 97:103)
a < 1e100
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.