createSlidingPhaseMatrix: Calculate average phase angles

Description Usage Arguments Value Author(s)

View source: R/phase.R

Description

Creates a matrix with mean phase differences between regions for a moving time period.

Usage

1
createSlidingPhaseMatrix(phaseMatrix, window = 12, bSort = TRUE)

Arguments

phaseMatrix

A matrix of phase angles.

window

The size of the moving average window.

bSort

Logical; if TRUE sorts the output matrix according to the average phase (over time).

Value

Returns a matrix with average phase angle differences from other locations.

Author(s)

Mikhail Churakov (mikhail.churakov@pasteur.fr).


mc30/wasp documentation built on Sept. 14, 2020, 4:20 a.m.