powered by
The mathematical set of integers, defined as the set of whole numbers. i.e. $$\\{...,-3, -2, -1, 0, 1, 2, 3,...\\}$$
An R6 object of class Integers.
Integers$new(...)
Generally the ... argument should be ignored, its primary use-case is for the child-classes.
...
class
elements
length
lower
upper
max
min
range
properties
traits
type
Comparison Methods
contains(x, all = FALSE, bound = NULL)
equals(x, all = FALSE)
isSubset(x, proper = FALSE, all = FALSE)
strprint(n = 2)
print(n = 2)
summary(n = 2)
listSpecialSets
Other SpecialSets: Complex, ExtendedReals, Naturals, NegIntegers, NegRationals, NegReals, PosIntegers, PosNaturals, PosRationals, PosReals, Rationals, Reals
Complex
ExtendedReals
Naturals
NegIntegers
NegRationals
NegReals
PosIntegers
PosNaturals
PosRationals
PosReals
Rationals
Reals
# NOT RUN { Integers$new() # }
Run the code above in your browser using DataLab