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