moymob1 {specieschrom}R 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


[Package specieschrom version 1.0.0 Index]