evenRunMean {DEScan2} | R Documentation

## evenRunMean

### Description

this function computes a running mean over x with a window width k (modified from S4Vectors package to work on even k, see evenRunSum).

### Usage

    evenRunMean(x, k, endrule = c("drop", "constant"), na.rm = FALSE)

### Arguments

`x` | an Rle object, typically a coverage object.
`k` | window dimension for the running sum over x.
`endrule` | refer to S4Vectors::runMean.
`na.rm` | refer to S4Vectors::runMean.

### Value

an Rle within the running mean over x with a win of length k.

[Package DEScan2 version 1.12.0 Index]