Learn R Programming

vccp (version 0.1.1)

getTestPlot: 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

Run this code
# NOT RUN {
## 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)
# }

Run the code above in your browser using DataLab