powered by
The mathematical set of negative integers, defined as the set of negative whole numbers. i.e. $$\\{...,-3, -2, -1, 0\\}$$
An R6 object of class NegIntegers.
NegIntegers$new(zero = FALSE)
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, Integers, Naturals, NegRationals, NegReals, PosIntegers, PosNaturals, PosRationals, PosReals, Rationals, Reals
Complex
ExtendedReals
Integers
Naturals
NegRationals
NegReals
PosIntegers
PosNaturals
PosRationals
PosReals
Rationals
Reals
# NOT RUN { NegIntegers$new() # }
Run the code above in your browser using DataLab