var {FLCore} | R Documentation

## Variance of an FLPar

### Description

`var` computes the variance of an `FLPar` object along the first dimension (`iter`) returning a value for each column (`param`)

By default, arguments `na.rm` and `use` have values of `FALSE` and `'all.obs'` respectively. See the `var` help page for more information on possible argument values.

### Generic function

var(x, y, na.rm, use)

### Methods

signature(x=FLPar,y=missing,na.rm=missing,use=missing) :
  Returns the variance of each parameter, computed along the iter dimension.

### Author(s)

The FLR Team

### See Also

`var`, `FLPar-class`

### Examples

    flp <- FLPar(rnorm(200), params=c('a', 'b'))
    var(flp)

[Package FLCore version 2.2 Index]