getTestPlot: Plot output from the VCCP model

Description Usage Arguments Value See Also Examples

View source: R/getTestPlot.R

Description

This function plots the change points in the network structure between multivariate time series detected by the VCCP model.

Usage

1
getTestPlot(vccp_result)

Arguments

vccp_result

A list generated from vccp.fun.

Value

No return value, called for a plotting purpose.

See Also

vccp.fun

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Simulate MVN data with 2 change points
data = cbind(1:180, mvn.sim.2.cps(180,8,seed=101))
## Change point detection using VCCP (it may take several minutes to complete...)
result = vccp.fun(data, "NBS", test = "V")
## Plot the result
getTestPlot(result)

result.2 = vccp.fun(data, "NBS", test = "B")
## Plot the result
getTestPlot(result.2)

vccp documentation built on May 29, 2021, 5:06 p.m.