runningMean {STAN} | R Documentation

## Smooth data with running mean

### Description

Smooth data with running mean

### Usage

    runningMean(x, winHalfSize = 2)

### Arguments

`x` | A vector with the data.
`winHalfSize` | The smoothing window half size.

### Value

A vector containing the smoothed data.

### Examples

    data(trainRegions)
    celltypes = list("E123"=grep("E123", names(trainRegions)),
            "E116"=grep("E116", names(trainRegions)))
    sizeFactors = getSizeFactors(trainRegions, celltypes)
    sizeFactors

[Package STAN version 2.14.0 Index]