The mathematical set of integers, defined as the set of whole numbers. i.e.
An R6 object of class Integers.
Integers$new(...)
Argument | Type | Details |
Generally the ...
argument should be ignored, its primary use-case is for the child-classes.
Field | Link |
class
class
elements
elements
length
length
lower
lower
upper
upper
max
max
min
min
range
range
properties
properties
traits
traits
type
type
Interval Methods | Link |
isSubinterval(x, proper = FALSE, all = FALSE) | isSubinterval |
Comparison Methods
Link
contains(x, all = FALSE, bound = NULL)
contains
equals(x, all = FALSE)
equals
isSubset(x, proper = FALSE, all = FALSE)
isSubset
Mathematical Methods
Link
absComplement()
absComplement
Representation Methods
Link
strprint(n = 2)
strprint
print(n = 2)
print
summary(n = 2)
summary
Other SpecialSets:
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