We provide S3 methods for min and
max for big rationals (bigq) and big integers
(biqz); consequently, range() works as well.
Similarly, S4 methods are provided for which.min() and
which.max().
Usage
## S3 method for class 'bigz'
max(..., na.rm=FALSE)
## S3 method for class 'bigq'
max(..., na.rm=FALSE)
## S3 method for class 'bigz'
min(..., na.rm=FALSE)
## S3 method for class 'bigq'
min(..., na.rm=FALSE)
## S4 method for signature 'bigz'
which.min(x)
## S4 method for signature 'bigq'
which.max(x)
Arguments
x
a “big integer” (bigz) or “big rational”
(bigq) vector.
...
numeric arguments
na.rm
a logical indicating whether missing values should be removed.