plot.sbs: Plot for an 'sbs' object

Description Usage Arguments Details See Also

View source: R/plot.R

Description

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

Usage

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

Arguments

x

an object of class 'sbs', returned by sbs

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 a default value of the threshold.

See Also

sbs changepoints


wbs documentation built on May 30, 2017, 3:56 a.m.