R: Mean of ff vector

mean.ff {ffbase} | R Documentation

## Mean of ff vector

### Description

Mean of ff vector

### Usage

    ## S3 method for class 'ff'
    mean(x, trim = 0, ..., range = NULL)

### Arguments

`x` | a ff vector
`trim` | percentage of robustness, between 0 and 1
`...` | other arguments passed to `mean`
`range` | a `ri` or an `integer` vector of `length==2` giving a range restriction for chunked processing

### Value

mean value

### Examples

    # create a vector of length 10 million
    x <- ff(vmode="double", length=1e7)

    mean(x)

[Package ffbase version 0.13.1 Index]