Plots fitted piecewise constant lines.
# S3 method for aCGHsegmented
plot(x, add = FALSE, y = TRUE, psi.lines = TRUE, typeL="l",
what=c("lines","criterion"), ...)object of class "aCGHsegmented" returned by jumpoints.
logical; if TRUE the fitted piecewise constant lines are added
to an existing plot.
logical; if TRUE the observations are also plotted, otherwise only the fitted lines.
logical; if TRUE vertical lines corresponding to the estimated changepoints are added.
argument type for the fitted lines. Possible options are typeL="s" to plot the horizontal and vertical lines of the step-function, and
typeL="l" to draw the horizontal lines only.
If 'lines' the fitted lines are plotted, otherwise the criterion values versus the number of change points, provided the fitted object x has been
called with argument output='2' or output='3'.
possible additional graphical arguments, such as col, xlab, and so on.
The function simply plots the fit returned by 'jumpoints'.
This fuction takes a fitted object returned by jumpoints and plots
the resulting fit, namely the estimated step-function and changepoints.