brob-class | R Documentation |
The formal S4 class for Brobdingnagian numbers
Objects can be created by calls of the form new("brob",
...)
but this is not encouraged. Use functions brob()
and,
especially, as.brob()
instead.
x
:Object of class "numeric"
holding the log
of the absolute value of the number to be represented
positive
:Object of class "logical"
indicating
whether the number is positive (see Note, below)
Class "swift"
, directly.
Slot positive
indicates non-negativity, as zero is
conventionally considered to be “positive”.
Robin K. S. Hankin
glub-class
,swift-class
new("brob",x=5,positive=TRUE) # not intended for the user
as.brob(5) # Standard user-oriented idiom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.