Learn R Programming

jointseg (version 1.0.2)

getUnivStat: Get the binary test statistic for one dimension

Description

Get the binary test statistic for one dimension

Usage

getUnivStat(y, weightFUN = defaultWeights)

Arguments

y

Input vector of signals for the considered dimension

weightFUN

A function returning a (n-1)*1 vector of weights for the candidate change point positions. See anotherBkp

Value

A vector of length length(y)-1, the binary test statistic for one dimension

Details

This function is used internally by anotherBkp.

See Also

anotherBkp