Plot method for the class 'aCGHsegmented'

Share:

Description

Plots fitted piecewise constant lines.

Usage

1
2
## S3 method for class 'aCGHsegmented'
plot(x, add = FALSE, y = TRUE, psi.lines = TRUE, ...)

Arguments

x

object of class "aCGHsegmented" returned by jumpoints.

add

logical; if TRUE the fitted piecewise constant lines are added to an existing plot.

y

logical; if TRUE the observations are also plotted, otherwise only the fitted lines.

psi.lines

logical; if TRUE vertical lines corresponding to the estimated changepoints are added.

...

possible additional graphical arguments, such as col, xlab, and so on.

Details

This fuction takes a fitted object returned by jumpoints and plots the resulting fit, namely the estimated step-function and changepoints.

Value

The function simply plots the fit returned by 'jumpoints'.

Author(s)

Vito Muggeo

See Also

jumpoints