rescale.variance: Noise standardisation for multivariate time series.

Description Usage Arguments Details Value Examples

View source: R/method_inspect.R

Description

Each row of the input matrix is normalised by the estimated standard deviation computed through the median absolute deviation of increments.

Usage

1
rescale.variance(x, by_row = FALSE)

Arguments

x

An input matrix of real values.

Details

This is an auxiliary function used by the InspectChangepoint package.

Value

A rescaled matrix of the same size is returned.

Examples

1
2
3
x <- matrix(rnorm(40),5,8) * (1:5)
x.rescaled <- rescale.variance(x)
x.rescaled

Tveten/capacc documentation built on Sept. 29, 2021, 5:31 a.m.