getTestPlot {vccp}R Documentation

Plot output from the VCCP model

Description

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

Usage

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


## 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)


[Package vccp version 0.1.1 Index]