plot.wbs: Plot for a 'wbs' object

Description Usage Arguments Details See Also

Description

Plots the input vector used to generate 'wbs' object x with fitted piecewise constant function, equal to the mean between change-points specified in cpt.

Usage

1
2
## S3 method for class 'wbs'
plot(x, cpt, ...)

Arguments

x

an object of class 'wbs', returned by wbs

cpt

a vector of integers with localisations of change-points

...

other parameters which may be passed to plot and changepoints

Details

When cpt is omitted, the function automatically finds change-points using changepoints function with strengthened Schwarz Information Criterion as a stopping criterion for the WBS algorithm.

See Also

wbs changepoints ssic.penalty


wbs documentation built on May 15, 2019, 1:04 a.m.