min.ff: Minimum, maximum and range of ff vector

Description Usage Arguments Value Examples

View source: R/Summary_ff.R

Description

default behaviour of min,max and range

Usage

1
2
## S3 method for class 'ff'
min(x, ..., na.rm = FALSE, range = NULL)

Arguments

x

a ff object

...

optional other (ff) objects

na.rm

should NA be removed?

range

a ri or an integer vector of length==2 giving a range restriction for chunked processing

Value

minimun, maximum or range values

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
x <- ff(1:100)

min(x)
max(x)
range(x)

is.na(x) <- 10
min(x)
max(x)
range(x)


min(x, na.rm=TRUE)
max(x, na.rm=TRUE)
range(x, na.rm=TRUE)

ffbase documentation built on Feb. 27, 2021, 5:06 p.m.