calculate_dst: Calculates the error associated to all possible segments...

Description Usage Arguments Value Examples

View source: R/calculate_dst.R

Description

Calculates the error associated to all possible segments x[s:t] where 1<=s<=t<=N and N is the length of x

Usage

1

Arguments

x

a series

Value

a ff matrix M such that M[s,t] corresponds to the error associated with segment x[s,t]

Examples

1
2
x=c(rnorm(100,3,2),rnorm(100,10,2),rnorm(100,2,2),rnorm(100,-4,2),rnorm(100,6,2),rnorm(100,2,2),rnorm(100,8,2))
calculate_dst(x)

lvaudor/hubr documentation built on Dec. 7, 2018, 8 a.m.