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/letiRmisc documentation built on Sept. 16, 2022, 2:19 p.m.