meanAlong: Compute the mean along a vector

View source: R/meanAlong.R

meanAlongR Documentation

Compute the mean along a vector

Description

This function is a simple moving window function.

Usage

meanAlong(vec, n)

Arguments

vec

a vector of numeric.

n

an integer indicating the size of the window.

Examples

meanAlong(1:10, 2)

inSileco/inSilecoMisc documentation built on Sept. 14, 2022, 5:44 a.m.