moymob1: m order simple moving average.

View source: R/moymob1.R

moymob1R Documentation

m order simple moving average.

Description

Apply a m order simple moving average on each column of a matrix.

Usage

moymob1(x, m)

Arguments

x

a matrix with in line the observations and in column the variables

m

an integer corresponding to the window size (2m+1)

Value

smoothed matrix


specieschrom documentation built on Oct. 17, 2022, 5:11 p.m.