R: Minimum, maximum and range of ff vector

min.ff {ffbase} | R Documentation

## Minimum, maximum and range of ff vector

### Description

default behaviour of `min`,`max` and `range`

### Usage

    ## 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

    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)

[Package ffbase version 0.13.1 Index]