Learn R Programming

Rbeast (version 0.2.2)

plot.beast: Changepoint Detection

Description

Plot the result obtained from the beast function.

Usage

# S3 method for beast
plot(x, index, ...)

Arguments

x

x must be an object of class "beast". It is the returned result from the beast function.

index

If x contains results for multiple time series. indx specifies which of them is plotted.

...

further arguments passed to the plot function.

Value

This function creates various plots to demonstrate the results of a beast decomposition. .

Examples

Run this code
# NOT RUN {
library(Rbeast)
data(simdata)
result=beast(simdata)
plot(result,1)
plot(result,2)
# }

Run the code above in your browser using DataLab